[vlc-commits] Repack libvlc internal data
Rémi Denis-Courmont
git at videolan.org
Tue Nov 29 18:46:39 CET 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Nov 29 19:46:24 2011 +0200| [32167b7e0ce384ad4d037734526eb53bc26e4dde] | committer: Rémi Denis-Courmont
Repack libvlc internal data
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=32167b7e0ce384ad4d037734526eb53bc26e4dde
---
src/libvlc.h | 2 +-
src/misc/messages.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/libvlc.h b/src/libvlc.h
index 5cb1ac8..ed7a755 100644
--- a/src/libvlc.h
+++ b/src/libvlc.h
@@ -172,7 +172,7 @@ typedef struct libvlc_priv_t
bool playlist_active;
/* Messages */
- int i_verbose; ///< info messages
+ signed char i_verbose; ///< info messages
bool b_color; ///< color messages?
bool b_stats; ///< Whether to collect stats
diff --git a/src/misc/messages.c b/src/misc/messages.c
index 61080c0..8c0b723 100644
--- a/src/misc/messages.c
+++ b/src/misc/messages.c
@@ -255,7 +255,7 @@ static const char msg_color[4][8] = { WHITE, RED, YELLOW, GRAY };
static void PrintColorMsg (void *d, int type, const msg_item_t *p_item,
const char *format, va_list ap)
{
- const int *pverbose = d;
+ const signed char *pverbose = d;
FILE *stream = stderr;
if (*pverbose < 0 || *pverbose < (type - VLC_MSG_ERR))
@@ -281,7 +281,7 @@ static void PrintColorMsg (void *d, int type, const msg_item_t *p_item,
static void PrintMsg (void *d, int type, const msg_item_t *p_item,
const char *format, va_list ap)
{
- const int *pverbose = d;
+ const signed char *pverbose = d;
FILE *stream = stderr;
if (*pverbose < 0 || *pverbose < (type - VLC_MSG_ERR))
More information about the vlc-commits
mailing list