# HG changeset patch # User mosu # Date 1068936407 0 # Node ID d3fc1feb652ac0dace1e0025ac85fda11c4be572 # Parent 5cdfc3ef39f86eb2a23deed1f5084de9896d2ca6 Small format fixes. diff -r 5cdfc3ef39f8 -r d3fc1feb652a libmpdemux/demux_ogg.c --- a/libmpdemux/demux_ogg.c Sat Nov 15 22:27:02 2003 +0000 +++ b/libmpdemux/demux_ogg.c Sat Nov 15 22:46:47 2003 +0000 @@ -478,7 +478,7 @@ while(1) { np = ogg_sync_pageseek(sync,page); if(np < 0) { // We had to skip some bytes - mp_msg(MSGT_DEMUX,MSGL_ERR,"Bad page sync while building syncpoints table (%ld)\n",-np); + mp_msg(MSGT_DEMUX,MSGL_ERR,"Bad page sync while building syncpoints table (%d)\n",-np); pos += -np; continue; } @@ -517,7 +517,7 @@ if(p > 1 || (p == 1 && ! ogg_page_continued(page))) last_pos = pos; pos += np; - mp_msg(MSGT_DEMUX,MSGL_INFO,"Building syncpoint table %d%\r",pos*100/s->end_pos); + mp_msg(MSGT_DEMUX,MSGL_INFO,"Building syncpoint table %d%%\r",(int)(pos*100/s->end_pos)); } mp_msg(MSGT_DEMUX,MSGL_INFO,"\n");