ENH: fix more warnings

This commit is contained in:
Bill Hoffman 2008-02-01 11:33:14 -05:00
parent 9b55f81522
commit f6826df4f3
1 changed files with 2 additions and 2 deletions

View File

@ -245,7 +245,7 @@ protected:
unsigned long TotalPhysicalMemory; unsigned long TotalPhysicalMemory;
unsigned long AvailablePhysicalMemory; unsigned long AvailablePhysicalMemory;
long int CurrentPositionInFile; size_t CurrentPositionInFile;
// Operating System information // Operating System information
bool QueryOSInformation(); bool QueryOSInformation();
@ -2135,7 +2135,7 @@ kwsys_stl::string SystemInformationImplementation::ExtractValueFromCpuInfoFile(k
return buffer.substr(pos+2,pos2-pos-2); return buffer.substr(pos+2,pos2-pos-2);
} }
} }
this->CurrentPositionInFile = -1; this->CurrentPositionInFile = buffer.npos;
return ""; return "";
} }