# HG changeset patch # User diego # Date 1215505070 0 # Node ID 46e21b0705c809dff85ad98977a3641d1187f14c # Parent 4c4c3d7845fcbdf78bd8da9994445dc74edb0471 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' diff -r 4c4c3d7845fc -r 46e21b0705c8 libmpdemux/mpeg_packetizer.c --- 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 */