summaryrefslogtreecommitdiff
path: root/logger.c
diff options
context:
space:
mode:
authorBJ Weschke <bweschke@btwtech.com>2006-05-08 12:32:44 +0000
committerBJ Weschke <bweschke@btwtech.com>2006-05-08 12:32:44 +0000
commit569ecaf5a2c4431205961ee408565e2290a4e795 (patch)
tree367c266da058b7b10d82afc027fcf6d4469b4a72 /logger.c
parent714aab87bb5fcf773c63ffc922454c917212c53f (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/logger.c b/logger.c
index ad9e322ac..ff3513634 100644
--- a/logger.c
+++ b/logger.c
@@ -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);