]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Minor FreeBSD build fix
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 22 Oct 2007 17:38:13 +0000 (17:38 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 22 Oct 2007 17:38:13 +0000 (17:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@86787 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/astmm.c

index b295025424bb466b72f9329b63549bfa46c3ec74..260f5d1ddb185257306aec68834a693d7136d6d7 100644 (file)
@@ -473,7 +473,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);
        }
 }