ecore_ipc: use Eina_Bool for one-bit bitfield
authorStefan Schmidt <stefan@osg.samsung.com>
Fri, 13 Nov 2015 12:20:10 +0000 (13:20 +0100)
committerStefan Schmidt <stefan@osg.samsung.com>
Fri, 13 Nov 2015 12:20:10 +0000 (13:20 +0100)
Make sure we are using a unsigned var here. Best go with a Eina_Bool directly.

src/lib/ecore_ipc/ecore_ipc_private.h

index 6cc7ffc..89504d4 100644 (file)
@@ -81,7 +81,7 @@ struct _Ecore_Ipc_Client
    } prev;
    
    int               event_count;
-   char              delete_me : 1;
+   Eina_Bool         delete_me : 1;
 };
    
 struct _Ecore_Ipc_Server
@@ -99,7 +99,7 @@ struct _Ecore_Ipc_Server
    } prev;
    
    int               event_count;
-   char              delete_me : 1;
+   Eina_Bool         delete_me : 1;
 };
 
 #endif