Mercurial > mplayer.hg
changeset 27201:46e21b0705c8
Use correct PRIu64 length modifier for uint64_t value, fixes the warning:
libmpdemux/mpeg_packetizer.c:61: warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'uint64_t'
author | diego |
---|---|
date | Tue, 08 Jul 2008 08:17:50 +0000 |
parents | 4c4c3d7845fc |
children | 747d3f6fbe81 |
files | libmpdemux/mpeg_packetizer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/mpeg_packetizer.c Mon Jul 07 12:17:46 2008 +0000 +++ b/libmpdemux/mpeg_packetizer.c Tue Jul 08 08:17:50 2008 +0000 @@ -58,7 +58,7 @@ unsigned char pes_header[PES_MAX_SIZE]; mp_msg (MSGT_HEADER, MSGL_DBG2, - "MPEG%d PES packet: 0x%x => %lu \n", type, id, pts); + "MPEG%d PES packet: 0x%x => %"PRIu64" \n", type, id, pts); memset (pes_header, '\0', PES_MAX_SIZE); /* startcode */