diff options
author | kmu <kmu@hdfgroup.org> | 2019-12-04 02:52:55 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:25 (GMT) |
commit | 1d46e823172046f259eb054370ea721eacad79b1 (patch) | |
tree | 11528139965614d2398171c275243eb55d1bd0b5 /hl | |
parent | fb8f955a73a41de8fa457424c4622f6dc072f53d (diff) | |
download | hdf5-1d46e823172046f259eb054370ea721eacad79b1.zip hdf5-1d46e823172046f259eb054370ea721eacad79b1.tar.gz hdf5-1d46e823172046f259eb054370ea721eacad79b1.tar.bz2 |
fix intel compile warnings
Diffstat (limited to 'hl')
-rw-r--r-- | hl/tools/gif2h5/decompress.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hl/tools/gif2h5/decompress.c b/hl/tools/gif2h5/decompress.c index 55081c3..47e1893 100644 --- a/hl/tools/gif2h5/decompress.c +++ b/hl/tools/gif2h5/decompress.c @@ -12,6 +12,7 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include <stdio.h> #include <stdlib.h> +#include "H5private.h" #include "gif.h" @@ -173,7 +174,7 @@ Decompress(GIFIMAGEDESC *GifImageDesc, GIFHEAD *GifHead) /* Now read in values from the image descriptor */ IWidth = GifImageDesc->ImageWidth; IHeight = GifImageDesc->ImageHeight; - Interlace = GifImageDesc->PackedField & 0x40; + H5_CHECKED_ASSIGN(Interlace, uint8_t, GifImageDesc->PackedField & 0x40, int); /* * Note that I ignore the possible existence of a local color map. I'm |