Changeset 1533 for trunk/dll/info.c


Ignore:
Timestamp:
May 30, 2010, 7:34:46 PM (15 years ago)
Author:
Gregg Young
Message:

Fixed possible loss of precision compiler warnings by casting the variables in question.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/info.c

    r1498 r1533  
    252252
    253253              percentfree = (fsa.cUnitAvail && fsa.cUnit) ?
    254                 (fsa.cUnitAvail * 100) / fsa.cUnit : 0;
     254                ((USHORT) fsa.cUnitAvail * 100) / (USHORT) fsa.cUnit : 0;
    255255              if (!percentfree && fsa.cUnitAvail)
    256256                percentfree = 1;
Note: See TracChangeset for help on using the changeset viewer.