Mercurial > libavformat.hg
diff asf.c @ 1388:3172bf94c066 libavformat
Use proper PRI?64 macros for %ll? format to fix printf format warnings:
utils.c:833: warning: format ?%lld? expects type ?long long int?, but argument 5 has type ?int64_t?
utils.c:833: warning: format ?%lld? expects type ?long long int?, but argument 6 has type ?int64_t?
utils.c:854: warning: format ?%lld? expects type ?long long int?, but argument 5 has type ?int64_t?
utils.c:854: warning: format ?%lld? expects type ?long long int?, but argument 6 has type ?int64_t?
asf.c:872: warning: format ?%Lx? expects type ?long long unsigned int?, but argument 4 has type ?int64_t?
mov.c:1754: warning: format ?%llx? expects type ?long long unsigned int?, but argument 5 has type ?int64_t?
Approved by Michael.
| author | rathann |
|---|---|
| date | Sat, 14 Oct 2006 20:43:39 +0000 |
| parents | 0899bfe4105c |
| children | 3b00fb8ef8e4 |
line wrap: on
line diff
--- a/asf.c Sat Oct 14 05:01:05 2006 +0000 +++ b/asf.c Sat Oct 14 20:43:39 2006 +0000 @@ -869,7 +869,7 @@ itime=get_le64(&s->pb); pct=get_le32(&s->pb); ict=get_le32(&s->pb); - av_log(NULL, AV_LOG_DEBUG, "itime:0x%Lx, pct:%d, ict:%d\n",itime,pct,ict); + av_log(NULL, AV_LOG_DEBUG, "itime:0x%"PRIx64", pct:%d, ict:%d\n",itime,pct,ict); for (i=0;i<ict;i++){ int pktnum=get_le32(&s->pb); @@ -933,7 +933,7 @@ // } /* do the seek */ - av_log(NULL, AV_LOG_DEBUG, "SEEKTO: %Ld\n", pos); + av_log(NULL, AV_LOG_DEBUG, "SEEKTO: %"PRId64"\n", pos); url_fseek(&s->pb, pos, SEEK_SET); } asf_reset_header(s);
