From: Stefan Schmidt Date: Fri, 13 Nov 2015 12:00:04 +0000 (+0100) Subject: gif loader: use Eina_Bool for one-bit bitfield X-Git-Tag: upstream/1.20.0~8219 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6939963e76220d297166e8968d3c094f9172e9ac;p=platform%2Fupstream%2Fefl.git gif loader: use Eina_Bool for one-bit bitfield Make sure we are using a unsigned var here. Best go with a Eina_Bool directly. --- diff --git a/src/modules/evas/image_loaders/gif/evas_image_load_gif.c b/src/modules/evas/image_loaders/gif/evas_image_load_gif.c index acdf5ab..a9f67f7 100644 --- a/src/modules/evas/image_loaders/gif/evas_image_load_gif.c +++ b/src/modules/evas/image_loaders/gif/evas_image_load_gif.c @@ -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