[vlc-devel] commit: vcdx: fix warning. ( Rémi Duraffort )

git version control git at videolan.org
Sun Mar 8 15:31:03 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Mar  8 15:23:32 2009 +0100| [161699e444ab300507662619329e28a392f26eac] | committer: Rémi Duraffort 

vcdx: fix warning.

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

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

diff --git a/modules/access/vcdx/info.c b/modules/access/vcdx/info.c
index 7b40273..cf36e53 100644
--- a/modules/access/vcdx/info.c
+++ b/modules/access/vcdx/info.c
@@ -40,8 +40,8 @@
 #include <libvcd/logging.h>
 
 static inline void
-MetaInfoAddStr(access_t *p_access, char *psz_cat,
-               char *title, const char *psz)
+MetaInfoAddStr( access_t *p_access, char *psz_cat,
+                const char *title, const char *psz )
 {
   vcdplayer_t *p_vcdplayer = (vcdplayer_t *) p_access->p_sys;
   if ( psz ) {
@@ -53,7 +53,7 @@ MetaInfoAddStr(access_t *p_access, char *psz_cat,
 
 
 static inline void
-MetaInfoAddNum(access_t *p_access, char *psz_cat, char *title, int num)
+MetaInfoAddNum(access_t *p_access, char *psz_cat, const char *title, int num)
 {
   vcdplayer_t *p_vcdplayer = (vcdplayer_t *) p_access->p_sys;
   dbg_print( INPUT_DBG_META, "cat %s, field %s: %d", psz_cat,  title, num);
@@ -62,7 +62,7 @@ MetaInfoAddNum(access_t *p_access, char *psz_cat, char *title, int num)
 }
 
 static inline void
-MetaInfoAddHex(access_t *p_access, char *psz_cat, char *title, int hex)
+MetaInfoAddHex(access_t *p_access, char *psz_cat, const char *title, int hex)
 {
   vcdplayer_t *p_vcdplayer = (vcdplayer_t *) p_access->p_sys;
   dbg_print( INPUT_DBG_META, "cat %s, field %s: %d", psz_cat, title, hex);




More information about the vlc-devel mailing list