From 32c3625649f3083f9105bd5ffc9974fadc0146d4 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 7 Nov 2016 22:19:06 -0500 Subject: fix a clang-cl -Wformat warning --- src/minidump-win32.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v0.12