Changeset 1543 for trunk/dll/info.c


Ignore:
Timestamp:
Sep 26, 2010, 5:22:47 PM (15 years ago)
Author:
Gregg Young
Message:

Fix percent used/avalable display in drive info dialog (Ticket 367); Fix recursive scan in stubbyscanthread.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/info.c

    r1533 r1543  
    208208            }
    209209            volser;
    210             USHORT percentfree, percentused;
     210            ULONG percentfree, percentused;
    211211
    212212            memset(&volser, 0, sizeof(volser));
     
    252252
    253253              percentfree = (fsa.cUnitAvail && fsa.cUnit) ?
    254                 ((USHORT) fsa.cUnitAvail * 100) / (USHORT) fsa.cUnit : 0;
     254                ((ULONG) fsa.cUnitAvail * 100) / (ULONG) fsa.cUnit : 0;
    255255              if (!percentfree && fsa.cUnitAvail)
    256256                percentfree = 1;
Note: See TracChangeset for help on using the changeset viewer.