summaryrefslogtreecommitdiffstats
path: root/hl/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-07-27 17:53:15 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-07-27 17:53:15 (GMT)
commite5c5e758d9d68eef64302f9bfdd96fcbe3d54aa4 (patch)
tree4d82d3a97d330f64b4cfab289a45cb1f10d26bcb /hl/tools
parente004576a014ba09c43ab503e9e1a4dd211b13a8e (diff)
downloadhdf5-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.c3
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");