diff --git a/main/astmm.c b/main/astmm.c index 2cf5325fb2850a91bbd55e0d3b61b9ae8a270ec0..0529a8f5f87d3315481932d5ec45be7c0aaca774 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); } }