commit | 32c3625649f3083f9105bd5ffc9974fadc0146d4 | [log] [tgz] |
---|---|---|
author | Nico Weber <thakis@chromium.org> | Mon Nov 07 22:19:06 2016 -0500 |
committer | Nico Weber <thakis@chromium.org> | Mon Nov 07 22:19:06 2016 -0500 |
tree | 7e73f3337d9eba27983d8c77e52f9638aae1d8e9 | |
parent | 73b672ebbf1a28227b070f1f3191c9fd51d8e3ad [diff] |
fix a clang-cl -Wformat warning
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 @@ 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.