mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 17:30:09 +08:00
win: Use correct format specifier
This caused an error with clang, but not msvc. At first I thought this might be a discrepancy between the warning levels used, but it appears msvc was okay with this because ints are the same size as longs. Change-Id: I798284fef9aa70b1bfda73308b9babe1779e8f4b Reviewed-on: https://chromium-review.googlesource.com/941723 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
parent
746ce1a637
commit
493e29bc3d
@ -55,7 +55,7 @@ __declspec(noreturn) void LogFatal(const char* file,
|
||||
va_end(va);
|
||||
|
||||
if (get_last_error) {
|
||||
fprintf(stderr, ": error %u", last_error);
|
||||
fprintf(stderr, ": error %lu", last_error);
|
||||
}
|
||||
|
||||
fputs("\n", stderr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user