Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
rtsp: fix compilation
  • Loading branch information
perexg committed Mar 16, 2016
1 parent 9dea135 commit ac48dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtsp.c
Expand Up @@ -56,7 +56,7 @@ rtsp_send_ext( http_client_t *hc, http_cmd_t cmd,
}
strncpy(buf_body, body, sizeof(buf_body));
strncat(buf_body, "\r\n", 2);
snprintf(buf2, sizeof(buf2), "%lu", size + 2);
snprintf(buf2, sizeof(buf2), "%"PRIu64, (uint64_t)(size + 2));
http_arg_set(hdr, "Content-Length", buf2);
}

Expand Down

0 comments on commit ac48dc2

Please sign in to comment.