diff options
author | kmu <kmu@hdfgroup.org> | 2019-12-04 02:52:55 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2019-12-04 02:52:55 (GMT) |
commit | 132fa33dad6badacec90e80768d8dc8e8aa33172 (patch) | |
tree | b296c329b62c9152fce3ca228c121a8cdf55d0c8 /hl/tools | |
parent | ea0759d047dc6421da90375a9c27f7cde0a8e117 (diff) | |
download | hdf5-132fa33dad6badacec90e80768d8dc8e8aa33172.zip hdf5-132fa33dad6badacec90e80768d8dc8e8aa33172.tar.gz hdf5-132fa33dad6badacec90e80768d8dc8e8aa33172.tar.bz2 |
fix intel compile warnings
Diffstat (limited to 'hl/tools')
-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 6668c22..b3e20ac 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 |