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

src/modules/evas/image_loaders/gif/evas_image_load_gif.c

index acdf5ab..a9f67f7 100644 (file)
@@ -34,7 +34,7 @@ struct _Frame_Info
    unsigned short delay; // delay time in 1/100ths of a sec
    short transparent : 10; // -1 == not, anything else == index 
    short dispose : 6; // 0, 1, 2, 3 (others invalid)
-   short interlace : 1; // interlaced or not
+   Eina_Bool interlace : 1; // interlaced or not
 };
 
 #ifndef MIN