summaryrefslogtreecommitdiff
path: root/src/gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gif.c')
-rw-r--r--src/gif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gif.c b/src/gif.c
index 6d10898..b37b517 100644
--- a/src/gif.c
+++ b/src/gif.c
@@ -1364,9 +1364,9 @@ void nsgif_destroy(nsgif_t *gif)
*/
static inline bool nsgif__host_is_little_endian(void)
{
- static const uint16_t test = 1;
+ const uint16_t test = 1;
- return ((const uint8_t *) &test)[0] == 1;
+ return ((const uint8_t *) &test)[0];
}
static struct nsgif_colour_layout nsgif__bitmap_fmt_to_colour_layout(