aboutsummaryrefslogtreecommitdiff
path: root/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'image.c')
-rw-r--r--image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.c b/image.c
index e067c71..9350ab1 100644
--- a/image.c
+++ b/image.c
@@ -227,7 +227,7 @@ bool img_load_gif(img_t *img, const fileinfo_t *file)
r = cmap->Colors[rows[i-y][j-x]].Red;
g = cmap->Colors[rows[i-y][j-x]].Green;
b = cmap->Colors[rows[i-y][j-x]].Blue;
- *ptr = 0xff << 24 | r << 16 | g << 8 | b;
+ *ptr = 0xffu << 24 | r << 16 | g << 8 | b;
}
ptr++;
}