]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix --enable-dev-mode
authorTilghman Lesher <tilghman@meg.abyt.es>
Sun, 8 Apr 2007 14:12:00 +0000 (14:12 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Sun, 8 Apr 2007 14:12:00 +0000 (14:12 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60712 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/http.c

index 014940b5a32dc6bba2afe20f39f5ae2b02e39f9a..a448d4180aec2d945860ecf94184daa61b4f40ec 100644 (file)
@@ -361,7 +361,7 @@ static void post_raw(struct mm_mimepart *part, const char *post_dir, const char
        body_len = mm_mimepart_getlength(part);
 
        if (option_debug)
-               ast_log(LOG_DEBUG, "Body length is %ld\n", body_len);
+               ast_log(LOG_DEBUG, "Body length is %ld\n", (long int)body_len);
 
        fwrite(body, 1, body_len, f);