]> git.sesse.net Git - vlc/blobdiff - src/misc/messages.c
Fix a bunch of warning.
[vlc] / src / misc / messages.c
index 9c3ea309308550c3ac61f3c827fd7d33584f566b..0ca3bd7e6e1575f3e702070e3b8433987f18d6ae 100644 (file)
@@ -481,7 +481,7 @@ static void PrintMsg ( vlc_object_t * p_this, msg_item_t * p_item )
 #endif
     static const char * ppsz_type[4] = { "", " error", " warning", " debug" };
     static const char *ppsz_color[4] = { WHITE, RED, YELLOW, GRAY };
-    char *psz_object = "private";
+    const char *psz_object = "private";
     int i_type = p_item->i_type;
 
     switch( i_type )