mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2025-02-03 23:59:31 +00:00
Solves warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has
type ‘LLONG {aka long int}’
This commit is contained in:
parent
cbd894a634
commit
c987b72033
@ -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
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user