Changeset 52744f8 for unix.c


Ignore:
Timestamp:
2008-01-17T22:06:55Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
ac4adf9
Parents:
13857c6
Message:

Fixing some Solaris compiler warnings (u_int->uint, adding some typecasts
for pid_t variables).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • unix.c

    r13857c6 r52744f8  
    197197                {
    198198                        if( WIFSIGNALED( st ) )
    199                                 log_message( LOGLVL_INFO, "Client %d terminated normally. (status = %d)", pid, WEXITSTATUS( st ) );
     199                                log_message( LOGLVL_INFO, "Client %d terminated normally. (status = %d)", (int) pid, WEXITSTATUS( st ) );
    200200                        else if( WIFEXITED( st ) )
    201                                 log_message( LOGLVL_INFO, "Client %d killed by signal %d.", pid, WTERMSIG( st ) );
     201                                log_message( LOGLVL_INFO, "Client %d killed by signal %d.", (int) pid, WTERMSIG( st ) );
    202202                }
    203203        }
Note: See TracChangeset for help on using the changeset viewer.