Skip to content

Commit

Permalink
sync nmakehlp.c
Browse files Browse the repository at this point in the history
  • Loading branch information
jan.nijtmans committed Oct 18, 2024
2 parents f558e02 + ff263b4 commit b044819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions win/nmakehlp.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ CheckForCompilerFeature(
if (!ok) {
DWORD err = GetLastError();
int chars = snprintf(msg, sizeof(msg) - 1,
"Tried to launch: \"%s\", but got error [%lu]: ", cmdline, err);
"Tried to launch: \"%s\", but got error [%u]: ", cmdline, err);

FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM|FORMAT_MESSAGE_IGNORE_INSERTS|
FORMAT_MESSAGE_MAX_WIDTH_MASK, 0L, err, 0, (LPSTR)&msg[chars],
Expand Down Expand Up @@ -405,7 +405,7 @@ CheckForLinkerFeature(
if (!ok) {
DWORD err = GetLastError();
int chars = snprintf(msg, sizeof(msg) - 1,
"Tried to launch: \"%s\", but got error [%lu]: ", cmdline, err);
"Tried to launch: \"%s\", but got error [%u]: ", cmdline, err);

FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM|FORMAT_MESSAGE_IGNORE_INSERTS|
FORMAT_MESSAGE_MAX_WIDTH_MASK, 0L, err, 0, (LPSTR)&msg[chars],
Expand Down

0 comments on commit b044819

Please sign in to comment.