Silence compiler warnings on Solaris with gcc 3.4.3

This commit is contained in:
Todd C. Miller
2011-08-23 16:42:18 -04:00
parent 335901388e
commit d81c14005f
5 changed files with 38 additions and 31 deletions

View File

@@ -323,7 +323,7 @@ suspend_parent(int signo)
sigaction(signo, &sa, &osa);
sudo_debug(8, "kill parent %d", signo);
if (killpg(ppgrp, signo) != 0)
warning("killpg(%d, %d)", ppgrp, signo);
warning("killpg(%d, %d)", (int)ppgrp, signo);
/* Check foreground/background status on resume. */
check_foreground();