summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5/writehdf.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-12-11 15:05:36 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-12-11 15:05:36 (GMT)
commite967d54ce373727820303311fcd631a41be4392c (patch)
treec762ced1109e615a1c814703791904cbb9351957 /hl/tools/gif2h5/writehdf.c
parent7a34f6dd5da90f8c3d8bb6b93354c1f416a3cfcf (diff)
downloadhdf5-e967d54ce373727820303311fcd631a41be4392c.zip
hdf5-e967d54ce373727820303311fcd631a41be4392c.tar.gz
hdf5-e967d54ce373727820303311fcd631a41be4392c.tar.bz2
Change defines to not conflict with windows
Diffstat (limited to 'hl/tools/gif2h5/writehdf.c')
-rw-r--r--hl/tools/gif2h5/writehdf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hl/tools/gif2h5/writehdf.c b/hl/tools/gif2h5/writehdf.c
index b656c36..c2933c5 100644
--- a/hl/tools/gif2h5/writehdf.c
+++ b/hl/tools/gif2h5/writehdf.c
@@ -62,9 +62,9 @@ WriteHDF(GIFTOMEM GifMemoryStruct, char *HDFName)
/* get some data from gifHead */
ImageCount = gifHead.ImageCount;
#ifdef UNUSED
- CommentCount = (WORD)gifHead.CommentCount;
- ApplicationCount = (WORD)gifHead.ApplicationCount;
- PlainTextCount = (WORD)gifHead.PlainTextCount;
+ CommentCount = (GIFWORD)gifHead.CommentCount;
+ ApplicationCount = (GIFWORD)gifHead.ApplicationCount;
+ PlainTextCount = (GIFWORD)gifHead.PlainTextCount;
#endif /* UNUSED */
if ((file_id = H5Fcreate(HDFName , H5F_ACC_TRUNC , H5P_DEFAULT , H5P_DEFAULT)) < 0) {