From c987b720335f21aa6477a8e53ed9904df6e32d89 Mon Sep 17 00:00:00 2001 From: Carlos Fernandez Date: Wed, 28 Sep 2016 13:37:45 -0700 Subject: [PATCH] =?UTF-8?q?Solves=20warning:=20format=20=E2=80=98%lld?= =?UTF-8?q?=E2=80=99=20expects=20argument=20of=20type=20=E2=80=98long=20lo?= =?UTF-8?q?ng=20int=E2=80=99,=20but=20argument=203=20has=20type=20?= =?UTF-8?q?=E2=80=98LLONG=20{aka=20long=20int}=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib_ccx/ccx_encoders_curl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib_ccx/ccx_encoders_curl.c b/src/lib_ccx/ccx_encoders_curl.c index f4eeb2e9..58e9e4d9 100644 --- a/src/lib_ccx/ccx_encoders_curl.c +++ b/src/lib_ccx/ccx_encoders_curl.c @@ -59,7 +59,7 @@ int write_cc_bitmap_as_libcurl(struct cc_subtitle *sub, struct encoder_ctx *cont mstotime(ms_start, &h1, &m1, &s1, &ms1); mstotime(ms_end - 1, &h2, &m2, &s2, &ms2); // -1 To prevent overlapping with next line. context->srt_counter++; - sprintf(timeline, "group_id=ccextractordev&start_time=%lld&end_time=%lld&lang=en", ms_start, ms_end); + sprintf(timeline, "group_id=ccextractordev&start_time=%" PRIu64 "&end_time=%" PRIu64 "&lang=en", ms_start, ms_end); char *curlline = NULL; curlline = str_reallocncat(curlline, timeline); curlline = str_reallocncat(curlline, "&payload="); @@ -90,4 +90,4 @@ int write_cc_bitmap_as_libcurl(struct cc_subtitle *sub, struct encoder_ctx *cont return ret; } -#endif \ No newline at end of file +#endif