diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-07-27 17:53:15 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-07-27 17:53:15 (GMT) |
commit | e5c5e758d9d68eef64302f9bfdd96fcbe3d54aa4 (patch) | |
tree | 4d82d3a97d330f64b4cfab289a45cb1f10d26bcb /hl/tools | |
parent | e004576a014ba09c43ab503e9e1a4dd211b13a8e (diff) | |
download | hdf5-e5c5e758d9d68eef64302f9bfdd96fcbe3d54aa4.zip hdf5-e5c5e758d9d68eef64302f9bfdd96fcbe3d54aa4.tar.gz hdf5-e5c5e758d9d68eef64302f9bfdd96fcbe3d54aa4.tar.bz2 |
Minor code fixes
Diffstat (limited to 'hl/tools')
-rw-r--r-- | hl/tools/gif2h5/gif2mem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hl/tools/gif2h5/gif2mem.c b/hl/tools/gif2h5/gif2mem.c index ec029ea..8fb575c 100644 --- a/hl/tools/gif2h5/gif2mem.c +++ b/hl/tools/gif2h5/gif2mem.c @@ -295,7 +295,8 @@ Gif2Mem(BYTE *MemGif, GIFTOMEM *GifMemoryStruct) fprintf(stderr, "Error reading Graphic Control Extension information\n"); - if (!*MemGif++ == 0) + (*MemGif)++; + if ((!*MemGif) == 0) fprintf(stderr, "Error reading Graphic Control Extension\n"); |