summaryrefslogtreecommitdiff
path: root/src/function.c
diff options
context:
space:
mode:
authorU2FsdGVkX1 <u2fsdgvkx1@gmail.com>2021-11-28 15:25:45 -0500
committerPaul Smith <psmith@gnu.org>2021-11-28 15:51:37 -0500
commitaa376ad638c26ad3211c3949fe5afbeb8a2bef17 (patch)
treed79e71f2200c092a609872cff209cc7e5fdaf733 /src/function.c
parent35b51df110e23135922f48680c9babf7a916ca27 (diff)
downloadmake-git-aa376ad638c26ad3211c3949fe5afbeb8a2bef17.tar.gz
* src/commands.c (fatal_error_signal) [W32]: Use %lu for DWORD.
* src/function.c (windows32_openpipe) [W32]: Ditto. Copyright-paperwork-exempt: yes
Diffstat (limited to 'src/function.c')
-rw-r--r--src/function.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/function.c b/src/function.c
index 75aa1ca6..0f9b6091 100644
--- a/src/function.c
+++ b/src/function.c
@@ -1644,7 +1644,7 @@ windows32_openpipe (int *pipedes, int errfd, pid_t *pid_p, char **command_argv,
if (hIn == INVALID_HANDLE_VALUE)
{
ON (error, NILF,
- _("windows32_openpipe: DuplicateHandle(In) failed (e=%ld)\n"), e);
+ _("windows32_openpipe: DuplicateHandle(In) failed (e=%lu)\n"), e);
return -1;
}
}
@@ -1668,14 +1668,14 @@ windows32_openpipe (int *pipedes, int errfd, pid_t *pid_p, char **command_argv,
if (hErr == INVALID_HANDLE_VALUE)
{
ON (error, NILF,
- _("windows32_openpipe: DuplicateHandle(Err) failed (e=%ld)\n"), e);
+ _("windows32_openpipe: DuplicateHandle(Err) failed (e=%lu)\n"), e);
return -1;
}
}
if (! CreatePipe (&hChildOutRd, &hChildOutWr, &saAttr, 0))
{
- ON (error, NILF, _("CreatePipe() failed (e=%ld)\n"), GetLastError());
+ ON (error, NILF, _("CreatePipe() failed (e=%lu)\n"), GetLastError());
return -1;
}