diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-10 13:43:28 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-12-10 13:43:28 (GMT) |
commit | e2d299225e0e1c941f17b9fd958170f7b6fa52ef (patch) | |
tree | 78abd09405ee9057b58dd8bc28a3e41806ab4201 /hl/tools/gif2h5/gif2hdf.c | |
parent | 89cb46ead35042bd117bc7cc71ba8c81cdc80447 (diff) | |
download | hdf5-e2d299225e0e1c941f17b9fd958170f7b6fa52ef.zip hdf5-e2d299225e0e1c941f17b9fd958170f7b6fa52ef.tar.gz hdf5-e2d299225e0e1c941f17b9fd958170f7b6fa52ef.tar.bz2 |
HDFFV-10974 Change defines to eliminate Windows conflict
Diffstat (limited to 'hl/tools/gif2h5/gif2hdf.c')
-rw-r--r-- | hl/tools/gif2h5/gif2hdf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hl/tools/gif2h5/gif2hdf.c b/hl/tools/gif2h5/gif2hdf.c index 2e06d34..051ff56 100644 --- a/hl/tools/gif2h5/gif2hdf.c +++ b/hl/tools/gif2h5/gif2hdf.c @@ -31,8 +31,8 @@ main(int argv , char *argc[]) long i, ImageCount; long filesize; - BYTE *MemGif; - BYTE *StartPos; + GIFBYTE *MemGif; + GIFBYTE *StartPos; char *GIFFileName; char *HDFFileName; @@ -81,7 +81,7 @@ main(int argv , char *argc[]) if (filesize == 0) printf("File Size Zero"); - if (!(MemGif = StartPos = (BYTE *)malloc((size_t)filesize))) { + if (!(MemGif = StartPos = (GIFBYTE *)malloc((size_t)filesize))) { printf("Out of memory"); exit(EXIT_FAILURE); } |