From dea842299275d051d15d64eb9061b88fed89ebac Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 2 Jul 2018 01:50:23 +0000 Subject: 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 --- mjit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mjit.c') 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; -- cgit v1.2.3