diff options
author | BJ Weschke <bweschke@btwtech.com> | 2006-05-08 12:32:44 +0000 |
---|---|---|
committer | BJ Weschke <bweschke@btwtech.com> | 2006-05-08 12:32:44 +0000 |
commit | 569ecaf5a2c4431205961ee408565e2290a4e795 (patch) | |
tree | 367c266da058b7b10d82afc027fcf6d4469b4a72 /logger.c | |
parent | 714aab87bb5fcf773c63ffc922454c917212c53f (diff) |
use pid_t instead of long for pid variables. #7099 (casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'logger.c')
-rw-r--r-- | logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -722,7 +722,7 @@ void ast_log(int level, const char *file, int line, const char *function, const if (logfiles.event_log && level == __LOG_EVENT) { va_start(ap, fmt); - fprintf(eventlog, "%s asterisk[%d]: ", date, getpid()); + fprintf(eventlog, "%s asterisk[%ld]: ", date, (long)getpid()); vfprintf(eventlog, fmt, ap); fflush(eventlog); |