aboutsummaryrefslogtreecommitdiffstats
path: root/main/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/http.c')
-rw-r--r--main/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/http.c b/main/http.c
index 0dee18faa..7d33fc970 100644
--- a/main/http.c
+++ b/main/http.c
@@ -403,7 +403,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);