summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-11-08 03:20:24 (GMT)
committerGitHub <noreply@github.com>2016-11-08 03:20:24 (GMT)
commit2263f82beab801f5d0235790e651142dba202ae8 (patch)
treeedccf4a47851fef98eea04523f6f5f03bee577d0 /src
parenta232a7f85e0d00df10fd578330b5184523d18533 (diff)
parent32c3625649f3083f9105bd5ffc9974fadc0146d4 (diff)
downloadNinja-2263f82beab801f5d0235790e651142dba202ae8.zip
Ninja-2263f82beab801f5d0235790e651142dba202ae8.tar.gz
Ninja-2263f82beab801f5d0235790e651142dba202ae8.tar.bz2
Merge pull request #1205 from nico/clangclformat
fix a clang-cl -Wformat warning
Diffstat (limited to 'src')
-rw-r--r--src/minidump-win32.cc2
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.