Commit 6ea07c2e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Invent unique pointer values properly

parent c3cc1221
...@@ -133,8 +133,8 @@ void msg_Flush (libvlc_int_t *p_libvlc) ...@@ -133,8 +133,8 @@ void msg_Flush (libvlc_int_t *p_libvlc)
/** /**
* Object Printing selection * Object Printing selection
*/ */
static void const * kObjectPrintingEnabled = (void *) 1; static void const * kObjectPrintingEnabled = &kObjectPrintingEnabled;
static void const * kObjectPrintingDisabled = (void *) -1; static void const * kObjectPrintingDisabled = &kObjectPrintingDisabled;
void __msg_EnableObjectPrinting (vlc_object_t *p_this, char * psz_object) void __msg_EnableObjectPrinting (vlc_object_t *p_this, char * psz_object)
{ {
......
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