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

src/modules/ecore_evas/engines/x/ecore_evas_x.c

index b750c68..a2ce912 100644 (file)
@@ -899,11 +899,11 @@ _ecore_evas_x_event_property_change(void *data EINA_UNUSED, int type EINA_UNUSED
               unsigned char below : 1;
            } x;
            struct {
-              char modal : 1;
-              char maximized : 1;
-              char sticky : 1;
-              char fullscreen : 1;
-              char focus_skip : 1;
+              Eina_Bool modal : 1;
+              Eina_Bool maximized : 1;
+              Eina_Bool sticky : 1;
+              Eina_Bool fullscreen : 1;
+              Eina_Bool focus_skip : 1;
            } prop;
         } prev;