Commit 161699e4 authored by Rémi Duraffort's avatar Rémi Duraffort

vcdx: fix warning.

parent 4b6976c1
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
#include <libvcd/logging.h> #include <libvcd/logging.h>
static inline void static inline void
MetaInfoAddStr(access_t *p_access, char *psz_cat, MetaInfoAddStr( access_t *p_access, char *psz_cat,
char *title, const char *psz) const char *title, const char *psz )
{ {
vcdplayer_t *p_vcdplayer = (vcdplayer_t *) p_access->p_sys; vcdplayer_t *p_vcdplayer = (vcdplayer_t *) p_access->p_sys;
if ( psz ) { if ( psz ) {
...@@ -53,7 +53,7 @@ MetaInfoAddStr(access_t *p_access, char *psz_cat, ...@@ -53,7 +53,7 @@ MetaInfoAddStr(access_t *p_access, char *psz_cat,
static inline void 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; vcdplayer_t *p_vcdplayer = (vcdplayer_t *) p_access->p_sys;
dbg_print( INPUT_DBG_META, "cat %s, field %s: %d", psz_cat, title, num); 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) ...@@ -62,7 +62,7 @@ MetaInfoAddNum(access_t *p_access, char *psz_cat, char *title, int num)
} }
static inline void 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; vcdplayer_t *p_vcdplayer = (vcdplayer_t *) p_access->p_sys;
dbg_print( INPUT_DBG_META, "cat %s, field %s: %d", psz_cat, title, hex); dbg_print( INPUT_DBG_META, "cat %s, field %s: %d", psz_cat, title, hex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment