diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-03-01 17:09:01 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-03-01 17:09:01 (GMT) |
commit | 9612b68b7d2b001a95cc2b48964a6a2fabe9af76 (patch) | |
tree | 8c3313456654bf28961362ef61b5a3d6db138df8 /hl/tools/gif2h5/gif2hdf.c | |
parent | 2804716f648c42d6bd85e1d4a942f7df204c93f2 (diff) | |
download | hdf5-9612b68b7d2b001a95cc2b48964a6a2fabe9af76.zip hdf5-9612b68b7d2b001a95cc2b48964a6a2fabe9af76.tar.gz hdf5-9612b68b7d2b001a95cc2b48964a6a2fabe9af76.tar.bz2 |
Fix gif tool and h5dump
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); } |