[cmake-commits] hoffman committed SystemInformation.cxx 1.15 1.16
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Feb 1 11:34:44 EST 2008
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv16432
Modified Files:
SystemInformation.cxx
Log Message:
ENH: fix more warnings
Index: SystemInformation.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemInformation.cxx,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- SystemInformation.cxx 1 Feb 2008 16:33:14 -0000 1.15
+++ SystemInformation.cxx 1 Feb 2008 16:34:42 -0000 1.16
@@ -221,7 +221,7 @@
// 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 @@
}
/** 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)
More information about the Cmake-commits
mailing list