diff options
author | Dominik Mierzejewski <dominik@rangers.eu.org> | 2006-10-14 20:43:39 +0000 |
---|---|---|
committer | Dominik Mierzejewski <dominik@rangers.eu.org> | 2006-10-14 20:43:39 +0000 |
commit | ccd3228e54cc01baaf019a4b3842e378340cbdc9 (patch) | |
tree | 8012a554904275700999909bf3d87314729aa06b /libavformat/asf.c | |
parent | 7c428ea6815e74bd21f02d5520a21cd9db3d6a12 (diff) | |
download | ffmpeg-ccd3228e54cc01baaf019a4b3842e378340cbdc9.tar.gz |
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.
Originally committed as revision 6692 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf.c')
-rw-r--r-- | libavformat/asf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c index 69c5e19c44..33ae66ce89 100644 --- a/libavformat/asf.c +++ b/libavformat/asf.c @@ -869,7 +869,7 @@ static void asf_build_simple_index(AVFormatContext *s, int stream_index) 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 @@ static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int // } /* 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); |