summaryrefslogtreecommitdiff
path: root/logger.c
diff options
context:
space:
mode:
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);