aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/astmm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/astmm.c b/main/astmm.c
index 2cf5325fb..0529a8f5f 100644
--- a/main/astmm.c
+++ b/main/astmm.c
@@ -475,7 +475,7 @@ void __ast_mm_init(void)
ast_verbose("Asterisk Malloc Debugger Started (see %s))\n", filename);
if ((mmlog = fopen(filename, "a+"))) {
- fprintf(mmlog, "%ld - New session\n", time(NULL));
+ fprintf(mmlog, "%ld - New session\n", (long)time(NULL));
fflush(mmlog);
}
}