summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemInformation.hxx.in
diff options
context:
space:
mode:
authorLuis Ibanez <luis.ibanez@kitware.com>2009-11-16 17:43:44 (GMT)
committerLuis Ibanez <luis.ibanez@kitware.com>2009-11-16 17:43:44 (GMT)
commit69fdf711fec78ccec28996fd0c0c807adcabf178 (patch)
tree8828b72b0afa6313c51f36a0fca6ab1b210d9c77 /Source/kwsys/SystemInformation.hxx.in
parent2921fa96ed836a49d2695b2787d9349885a30a9b (diff)
downloadCMake-69fdf711fec78ccec28996fd0c0c807adcabf178.zip
CMake-69fdf711fec78ccec28996fd0c0c807adcabf178.tar.gz
CMake-69fdf711fec78ccec28996fd0c0c807adcabf178.tar.bz2
COMP: Fixing return type of the Get methods associated with variables that
were changed from "unsigned long" to "size_t" to solve warnings about 64 bits to 32 bits truncations.
Diffstat (limited to 'Source/kwsys/SystemInformation.hxx.in')
-rw-r--r--Source/kwsys/SystemInformation.hxx.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/kwsys/SystemInformation.hxx.in b/Source/kwsys/SystemInformation.hxx.in
index 9d073c4c..db23fe7 100644
--- a/Source/kwsys/SystemInformation.hxx.in
+++ b/Source/kwsys/SystemInformation.hxx.in
@@ -63,10 +63,10 @@ public:
bool DoesCPUSupportCPUID();
// Retrieve memory information in megabyte.
- unsigned long GetTotalVirtualMemory();
- unsigned long GetAvailableVirtualMemory();
- unsigned long GetTotalPhysicalMemory();
- unsigned long GetAvailablePhysicalMemory();
+ size_t GetTotalVirtualMemory();
+ size_t GetAvailableVirtualMemory();
+ size_t GetTotalPhysicalMemory();
+ size_t GetAvailablePhysicalMemory();
/** Run the different checks */
void RunCPUCheck();