diff --git a/mingw.c b/mingw.c index 0f186ed2..8aaea267 100644 --- a/mingw.c +++ b/mingw.c @@ -315,7 +315,7 @@ static void windows_errno(DWORD error) errno = ENOMEM; break; default: - fprintf(stderr, "Unexpected Windows error %d.\n", error); + fprintf(stderr, "Unexpected Windows error %d.\n", (int)error); errno = EIO; break; }