Ignore:
Timestamp:
Dec 6, 2007, 3:36:02 PM (16 years ago)
Author:
rryu
Message:

メモリを2GB以上使っている場合でもステータスウインドウの表示がおかしくならないようにした。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MacFaceLibrary/MemoryStatisticsGlobalMemoryStatusEx.cs

    r77 r98  
    3232                        Unmanaged.GlobalMemoryStatusEx(ref memStat);
    3333
    34                         int available      = (int)(memStat.ullAvailPageFile);
    35                         int committed      = (int)(memStat.ullTotalPageFile - memStat.ullAvailPageFile);
     34                        UInt64 available      = (UInt64)(memStat.ullAvailPageFile);
     35                        UInt64 committed      = (UInt64)(memStat.ullTotalPageFile - memStat.ullAvailPageFile);
    3636                       
    3737                        return new MemoryUsage(available, committed, 0, 0,
Note: See TracChangeset for help on using the changeset viewer.