Removes reference to NULL in includes
[src/app-framework-binder.git] / include / afb / afb-event-itf.h
index 3d66a89..b1776ea 100644 (file)
@@ -52,7 +52,7 @@ struct afb_event
  */
 static inline int afb_event_is_valid(struct afb_event event)
 {
-       return event.itf != NULL;
+       return !!event.itf;
 }
 
 /*