summaryrefslogtreecommitdiffstats
path: root/hl/tools
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-11-25 21:17:55 (GMT)
committerkmu <kmu@hdfgroup.org>2019-11-25 21:17:55 (GMT)
commitfc61b7a9f3a38331809ebcb6247482943947cdb8 (patch)
treeba9de335ebbd634656bf414d74eea506a1522227 /hl/tools
parentd242a900f420b040e364f6c0976c01593e955db3 (diff)
downloadhdf5-fc61b7a9f3a38331809ebcb6247482943947cdb8.zip
hdf5-fc61b7a9f3a38331809ebcb6247482943947cdb8.tar.gz
hdf5-fc61b7a9f3a38331809ebcb6247482943947cdb8.tar.bz2
using a different MACRO
Diffstat (limited to 'hl/tools')
-rw-r--r--hl/tools/gif2h5/decompress.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hl/tools/gif2h5/decompress.c b/hl/tools/gif2h5/decompress.c
index f8c86f6..5532fb5 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;
- ASSIGN_TO_SMALLER_SIZE(Interlace, unsigned char, GifImageDesc->PackedField & 0x40, int);
+ H5_CHECKED_ASSIGN(Interlace, unsigned char, GifImageDesc->PackedField & 0x40, int);
/*
* Note that I ignore the possible existence of a local color map. I'm