Commit 519a81a2 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

messages: Fix a warning.

parent ce2e6d1f
...@@ -144,7 +144,7 @@ void __msg_EnableObjectPrinting (vlc_object_t *p_this, char * psz_object) ...@@ -144,7 +144,7 @@ void __msg_EnableObjectPrinting (vlc_object_t *p_this, char * psz_object)
if( !strcmp(psz_object, "all") ) if( !strcmp(psz_object, "all") )
priv->msg_all_objects_enabled = true; priv->msg_all_objects_enabled = true;
else else
vlc_dictionary_insert( &priv->msg_enabled_objects, psz_object, kObjectPrintingEnabled ); vlc_dictionary_insert( &priv->msg_enabled_objects, psz_object, (void *)kObjectPrintingEnabled );
vlc_mutex_unlock( &QUEUE.lock ); vlc_mutex_unlock( &QUEUE.lock );
} }
...@@ -155,7 +155,7 @@ void __msg_DisableObjectPrinting (vlc_object_t *p_this, char * psz_object) ...@@ -155,7 +155,7 @@ void __msg_DisableObjectPrinting (vlc_object_t *p_this, char * psz_object)
if( !strcmp(psz_object, "all") ) if( !strcmp(psz_object, "all") )
priv->msg_all_objects_enabled = false; priv->msg_all_objects_enabled = false;
else else
vlc_dictionary_insert( &priv->msg_enabled_objects, psz_object, kObjectPrintingDisabled ); vlc_dictionary_insert( &priv->msg_enabled_objects, psz_object, (void *)kObjectPrintingDisabled );
vlc_mutex_unlock( &QUEUE.lock ); vlc_mutex_unlock( &QUEUE.lock );
} }
......
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