[vlc-commits] VCDX: fix wrong printf format

Jean-Baptiste Kempf git at videolan.org
Thu Feb 17 15:44:24 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 17 14:52:41 2011 +0100| [674ed5090c8dd463863444ff0782871dd3c0f48b] | committer: Jean-Baptiste Kempf

VCDX: fix wrong printf format

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=674ed5090c8dd463863444ff0782871dd3c0f48b
---

 modules/access/vcdx/access.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/vcdx/access.c b/modules/access/vcdx/access.c
index 0982ad4..b4642cf 100644
--- a/modules/access/vcdx/access.c
+++ b/modules/access/vcdx/access.c
@@ -361,9 +361,9 @@ VCDEntryPoints( access_t * p_access )
                              - vcdinfo_get_track_lsn(p_vcdplayer->vcd,i_track))
                              * M2F2_SECTOR_SIZE;
     
-            dbg_print( INPUT_DBG_MRL, "%s, lsn %d,  byte_offset %ld",
+            dbg_print( INPUT_DBG_MRL, "%s, lsn %d,  byte_offset %"PRId64""
                        s->psz_name, p_vcdplayer->p_entries[i],
-                       (unsigned long int) s->i_byte_offset);
+                       s->i_byte_offset);
             TAB_APPEND( p_vcdplayer->p_title[i_track-1]->i_seekpoint,
                         p_vcdplayer->p_title[i_track-1]->seekpoint, s );
 



More information about the vlc-commits mailing list