diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2008-01-17 22:06:55 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2008-01-17 22:06:55 +0000 |
commit | 52744f8f65a278a59a8903d5c594e057d63c7006 (patch) | |
tree | 9cd0ff1f2b49146b3d42c70c272ff88d215436b8 /unix.c | |
parent | 13857c648210a16448619c65e33f9918bfe27cbe (diff) |
Fixing some Solaris compiler warnings (u_int->uint, adding some typecasts
for pid_t variables).
Diffstat (limited to 'unix.c')
-rw-r--r-- | unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -196,9 +196,9 @@ static void sighandler( int signal ) while( ( pid = waitpid( 0, &st, WNOHANG ) ) > 0 ) { if( WIFSIGNALED( st ) ) - log_message( LOGLVL_INFO, "Client %d terminated normally. (status = %d)", pid, WEXITSTATUS( st ) ); + log_message( LOGLVL_INFO, "Client %d terminated normally. (status = %d)", (int) pid, WEXITSTATUS( st ) ); else if( WIFEXITED( st ) ) - log_message( LOGLVL_INFO, "Client %d killed by signal %d.", pid, WTERMSIG( st ) ); + log_message( LOGLVL_INFO, "Client %d killed by signal %d.", (int) pid, WTERMSIG( st ) ); } } else if( signal != SIGPIPE ) |