diff --git a/src/input/r_mpeg_ps.cpp b/src/input/r_mpeg_ps.cpp index 9438c1da2..8f7a4e655 100644 --- a/src/input/r_mpeg_ps.cpp +++ b/src/input/r_mpeg_ps.cpp @@ -155,7 +155,7 @@ mpeg_ps_reader_c::init_reader() { io->restore_pos(); pes_packet_length = io->read_uint16_be(); - mxverb(3, boost::format("mpeg_ps: id 0x%|1$02x| len %2% at %3%\n") % stream_id % pes_packet_length % (io->getFilePointer() - 4 - 2)); + mxverb(3, boost::format("mpeg_ps: id 0x%|1$02x| len %2% at %3%\n") % static_cast(stream_id) % pes_packet_length % (io->getFilePointer() - 4 - 2)); io->skip(pes_packet_length);