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:
Joshua Peraza 2018-02-28 11:33:42 -08:00 committed by Commit Bot
parent 746ce1a637
commit 493e29bc3d

View File

@ -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);