[vlc-devel] commit: messages: Fix a warning. (Pierre d'Herbemont )
git version control
git at videolan.org
Tue Sep 2 02:16:40 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Tue Sep 2 02:19:52 2008 +0200| [519a81a2fec4d5513bf8ea576546d351626b1d2b] | committer: Pierre d'Herbemont
messages: Fix a warning.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=519a81a2fec4d5513bf8ea576546d351626b1d2b
---
src/misc/messages.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/misc/messages.c b/src/misc/messages.c
index c525ec8..f2fe5a9 100644
--- a/src/misc/messages.c
+++ b/src/misc/messages.c
@@ -144,7 +144,7 @@ void __msg_EnableObjectPrinting (vlc_object_t *p_this, char * psz_object)
if( !strcmp(psz_object, "all") )
priv->msg_all_objects_enabled = true;
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 );
}
@@ -155,7 +155,7 @@ void __msg_DisableObjectPrinting (vlc_object_t *p_this, char * psz_object)
if( !strcmp(psz_object, "all") )
priv->msg_all_objects_enabled = false;
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 );
}
More information about the vlc-devel
mailing list