ENH: fix more warnings

This commit is contained in:
Bill Hoffman 2008-02-01 11:36:06 -05:00
parent 889d900ef2
commit 5343910cba
1 changed files with 2 additions and 2 deletions

View File

@ -2153,7 +2153,7 @@ int SystemInformationImplementation::RetreiveInformationFromCpuInfoFile()
return 0; return 0;
} }
long int fileSize = 0; size_t fileSize = 0;
while(!feof(fd)) while(!feof(fd))
{ {
buffer += fgetc(fd); buffer += fgetc(fd);
@ -2809,7 +2809,7 @@ kwsys_stl::string SystemInformationImplementation::ParseValueFromKStat(const cha
args.push_back("-p"); args.push_back("-p");
kwsys_stl::string command = arguments; kwsys_stl::string command = arguments;
long int start = -1; size_t start = command.npos;
size_t pos = command.find(' ',0); size_t pos = command.find(' ',0);
while(pos!=command.npos) while(pos!=command.npos)
{ {