summaryrefslogtreecommitdiff
path: root/ijs
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2020-06-26 20:05:36 +0100
committerRobin Watts <Robin.Watts@artifex.com>2020-06-29 13:56:10 +0100
commit71962c6ed1e0bdf41e604a8014b93889f9d07ee5 (patch)
treee57f0e589bcbc5e037d3002eb61e8a414097b39f /ijs
parentb68604731130f5493d2ecd5ae627b1bae9624c64 (diff)
downloadghostpdl-71962c6ed1e0bdf41e604a8014b93889f9d07ee5.tar.gz
Squash warnings seen in Windows 64 bit build.
Diffstat (limited to 'ijs')
-rw-r--r--ijs/ijs_exec_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ijs/ijs_exec_win.c b/ijs/ijs_exec_win.c
index ca8c88463..fc5220026 100644
--- a/ijs/ijs_exec_win.c
+++ b/ijs/ijs_exec_win.c
@@ -76,9 +76,9 @@ ijs_exec_server(const char *server_cmd, int *pfd_to, int *pfd_from,
CloseHandle(hPipeTemp);
}
if (flag)
- flag = (fd_stdin_wr = _open_osfhandle((LONG)hChildStdinWr, _O_BINARY)) != -1;
+ flag = (fd_stdin_wr = _open_osfhandle((intptr_t)hChildStdinWr, _O_BINARY)) != -1;
if (flag)
- flag = (fd_stdout_rd = _open_osfhandle((LONG)hChildStdoutRd, _O_BINARY)) != -1;
+ flag = (fd_stdout_rd = _open_osfhandle((intptr_t)hChildStdoutRd, _O_BINARY)) != -1;
/* Now create the child process. */
if (flag) {