Fix incorrect format specifier for fprintf

This commit is contained in:
Gunnar Beutner 2015-03-02 12:40:02 +01:00
parent 96583857c0
commit f7ca0c5b52
1 changed files with 1 additions and 1 deletions

View File

@ -776,7 +776,7 @@ void Application::UpdatePidFile(const String& filename, pid_t pid)
}
#endif /* _WIN32 */
fprintf(m_PidFile, "%d\n", pid);
fprintf(m_PidFile, "%lu\n", (unsigned long)pid);
fflush(m_PidFile);
}