]> git.sesse.net Git - vlc/blobdiff - include/vlc_common.h
psz_object_name should not be const! (else module name aliasing cannot work)
[vlc] / include / vlc_common.h
index a83414490e1a11c61c7e06956c6a3de9e50a1b95..ad0c97f2f49662d5427c50ca9cd7903bf246b574 100644 (file)
@@ -523,7 +523,7 @@ typedef struct vlc_object_internals_t vlc_object_internals_t;
     int   i_object_id;                                                      \
     int   i_object_type;                                                    \
     const char *psz_object_type;                                            \
-    const char *psz_object_name;                                            \
+    char *psz_object_name;                                                  \
                                                                             \
     /* Messages header */                                                   \
     char *psz_header;                                                       \