summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemInformation.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-02-01 16:34:42 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-02-01 16:34:42 (GMT)
commit889d900ef29d2eae8bdb6c833f921dc3e59153ce (patch)
treec23926a77086ecab32827dc09cd339343013e041 /Source/kwsys/SystemInformation.cxx
parentf6826df4f36623a6f2ed9d63ca259ea59840f364 (diff)
downloadCMake-889d900ef29d2eae8bdb6c833f921dc3e59153ce.zip
CMake-889d900ef29d2eae8bdb6c833f921dc3e59153ce.tar.gz
CMake-889d900ef29d2eae8bdb6c833f921dc3e59153ce.tar.bz2
ENH: fix more warnings
Diffstat (limited to 'Source/kwsys/SystemInformation.cxx')
-rw-r--r--Source/kwsys/SystemInformation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx
index 81a5615..376959f 100644
--- a/Source/kwsys/SystemInformation.cxx
+++ b/Source/kwsys/SystemInformation.cxx
@@ -221,7 +221,7 @@ protected:
// For Linux
int RetreiveInformationFromCpuInfoFile();
kwsys_stl::string ExtractValueFromCpuInfoFile(kwsys_stl::string buffer,
- const char* word, int init=0);
+ const char* word, size_t init=0);
static void Delay (unsigned int);
static void DelayOverhead (unsigned int);
@@ -2122,7 +2122,7 @@ bool SystemInformationImplementation::RetrieveClassicalCPUIdentity()
}
/** Extract a value from the CPUInfo file */
-kwsys_stl::string SystemInformationImplementation::ExtractValueFromCpuInfoFile(kwsys_stl::string buffer,const char* word,int init)
+kwsys_stl::string SystemInformationImplementation::ExtractValueFromCpuInfoFile(kwsys_stl::string buffer,const char* word,size_t init)
{
size_t pos = buffer.find(word,init);
if(pos != buffer.npos)