Fixing loads of msvc warnings (mainly size_t vs int issues).
This commit is contained in:
@@ -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 << "\"!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user