diff options
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); |