Merged revisions 86787 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 22 Oct 2007 17:40:29 +0000 (17:40 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 22 Oct 2007 17:40:29 +0000 (17:40 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86787 | tilghman | 2007-10-22 12:38:13 -0500 (Mon, 22 Oct 2007) | 2 lines

Minor FreeBSD build fix

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86790 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/astmm.c

index 2cf5325..0529a8f 100644 (file)
@@ -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);
        }
 }