diff options
-rw-r--r-- | src/minidump-win32.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/minidump-win32.cc b/src/minidump-win32.cc index c611919..1efb085 100644 --- a/src/minidump-win32.cc +++ b/src/minidump-win32.cc @@ -34,7 +34,7 @@ void CreateWin32MiniDump(_EXCEPTION_POINTERS* pep) { char temp_path[MAX_PATH]; GetTempPath(sizeof(temp_path), temp_path); char temp_file[MAX_PATH]; - sprintf(temp_file, "%s\\ninja_crash_dump_%d.dmp", + sprintf(temp_file, "%s\\ninja_crash_dump_%lu.dmp", temp_path, GetCurrentProcessId()); // Delete any previous minidump of the same name. |