From: Ivo Raisr Date: Mon, 28 Nov 2016 22:14:58 +0000 (+0000) Subject: Fix compiler warning on Solaris. X-Git-Tag: svn/VALGRIND_3_13_0~260 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adb196abf3c58a2651b8f50ade810c9cf5891c09;p=thirdparty%2Fvalgrind.git Fix compiler warning on Solaris. n-i-bz git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16161 --- diff --git a/coregrind/m_syswrap/syswrap-solaris.c b/coregrind/m_syswrap/syswrap-solaris.c index 9c850350fd..2070fc4641 100644 --- a/coregrind/m_syswrap/syswrap-solaris.c +++ b/coregrind/m_syswrap/syswrap-solaris.c @@ -5157,7 +5157,7 @@ PRE(sys_sigsendsys) psp->p_op); } - vki_id_t pid; + UInt pid; if ((psp->p_lidtype == VKI_P_PID) && (psp->p_ridtype == VKI_P_ALL)) { pid = psp->p_lid; } else if ((psp->p_lidtype == VKI_P_ALL) && (psp->p_ridtype == VKI_P_PID)) { @@ -5168,7 +5168,7 @@ PRE(sys_sigsendsys) } if (VG_(clo_trace_signals)) - VG_(message)(Vg_DebugMsg, "sigsendsys: sending signal to process %u\n", + VG_(message)(Vg_DebugMsg, "sigsendsys: sending signal to process %d\n", pid); /* Handle SIGKILL specially. */ @@ -8348,8 +8348,8 @@ PRE(sys_sigqueue) if (VG_(clo_trace_signals)) VG_(message)(Vg_DebugMsg, - "sigqueue: signal %lu queued for pid %lu\n", - ARG2, ARG1); + "sigqueue: signal %ld queued for pid %ld\n", + SARG2, SARG1); /* Check to see if this gave us a pending signal. */ *flags |= SfPollAfter;