Changeset 1921


Ignore:
Timestamp:
Dec 9, 2025, 11:15:13 PM (4 hours ago)
Author:
Gregg Young
Message:

Fix the reporting of % used and % free for very large drives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/info.c

    r1916 r1921  
    257257
    258258              percentfree = (fsa.cUnitAvail && fsa.cUnit) ?
    259                 ((ULONG) fsa.cUnitAvail * 100) / (ULONG) fsa.cUnit : 0;
     259                ((ULONGLONG) fsa.cUnitAvail * 100) / (ULONGLONG) fsa.cUnit : 0;
    260260              if (!percentfree && fsa.cUnitAvail)
    261261                percentfree = 1;
Note: See TracChangeset for help on using the changeset viewer.