Fixing loads of msvc warnings (mainly size_t vs int issues).

This commit is contained in:
lotodore
2011-04-10 10:04:42 +00:00
parent 3cb3a5c3a8
commit 8bac902580
31 changed files with 304 additions and 304 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ main(int argc, char *argv[])
{
ofstream pidStream(pidFile.c_str(), ios_base::out | ios_base::trunc);
if (!pidStream.fail())
pidStream << getpid();
pidStream << _getpid();
else
LOG_ERROR("Could not create process id file \"" << pidFile << "\"!");
}