summaryrefslogtreecommitdiffstats
path: root/tools/gifconv
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gifconv')
-rw-r--r--tools/gifconv/decompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gifconv/decompress.c b/tools/gifconv/decompress.c
index a2682e5..eafa133 100644
--- a/tools/gifconv/decompress.c
+++ b/tools/gifconv/decompress.c
@@ -162,7 +162,7 @@ Decompress(GIFIMAGEDESC *GifImageDesc, GIFHEAD *GifHead)
OutCount = 0;
BitOffset = 0;
- DataMask = (WORD)((1L << ((GifHead->PackedField & 0x07) +1)) -1);
+ DataMask = (1L << ((GifHead->PackedField & 0x07) +1)) -1;
Raster = GifImageDesc->GIFImage;
/* Check for image seperator */