summaryrefslogtreecommitdiff
path: root/mjit.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-02 01:50:23 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-02 01:50:23 +0000
commitdea842299275d051d15d64eb9061b88fed89ebac (patch)
tree4c6230ba392802d49c979d41bd5afb835fff5389 /mjit.c
parentb3fb892dbad2b0e809d3dd40d9e6bd7e25cdf218 (diff)
get rid of a compiler warning of VC
* mjit.c (exec_prcess): use PRI_PIDT_PREFIX for pid. * win32/Makefile.sub (PRI_PIDT_PREFIX): force to "I". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit.c')
-rw-r--r--mjit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit.c b/mjit.c
index 49bac227a0..faa31da2a4 100644
--- a/mjit.c
+++ b/mjit.c
@@ -422,7 +422,7 @@ exec_process(const char *path, char *const argv[])
: waitpid(pid, &stat, 0);
if (r == -1) {
if (errno == EINTR) continue;
- fprintf(stderr, "[%d] waitpid(%d): %s (SIGCHLD=%d,%u)\n",
+ fprintf(stderr, "[%d] waitpid(%"PRI_PIDT_PREFIX"d): %s (SIGCHLD=%d,%u)\n",
getpid(), pid, strerror(errno),
RUBY_SIGCHLD, SIGCHLD_LOSSY);
break;