]> git.sesse.net Git - vlc/commitdiff
Kill implicit pointer -> bool cast
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 15 Jul 2010 19:01:34 +0000 (22:01 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 15 Jul 2010 19:01:50 +0000 (22:01 +0300)
src/control/event_async.c

index bed235e01c08edc0f4e3f3935473523371c09471..5dce2a3231b203376c18a9be88ea7ecedb3bb953 100644 (file)
@@ -70,7 +70,8 @@ static inline bool is_queue_initialized(libvlc_event_manager_t * p_em)
 
 static inline bool current_thread_is_asynch_thread(libvlc_event_manager_t * p_em)
 {
-    return vlc_threadvar_get(queue(p_em)->is_asynch_dispatch_thread_var);
+    return vlc_threadvar_get(queue(p_em)->is_asynch_dispatch_thread_var)
+            != NULL;
 }
 
 /* Lock must be held */