summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5/gif2mem.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-05-10 15:46:37 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-05-10 15:46:37 (GMT)
commit9d50ed52875549dad6e5253111c0356aca3c2c05 (patch)
tree6da8ca6e363c5646fcf7557c6209baa6c7c55b78 /hl/tools/gif2h5/gif2mem.c
parent900a110c89585976f4c3738f56edb4314259fd6e (diff)
parente4e261173f85de6f83651abd6950793d7b930a20 (diff)
downloadhdf5-9d50ed52875549dad6e5253111c0356aca3c2c05.zip
hdf5-9d50ed52875549dad6e5253111c0356aca3c2c05.tar.gz
hdf5-9d50ed52875549dad6e5253111c0356aca3c2c05.tar.bz2
Merge pull request #501 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'e4e261173f85de6f83651abd6950793d7b930a20': HDFFV-10186 more whitespace formatting
Diffstat (limited to 'hl/tools/gif2h5/gif2mem.c')
-rw-r--r--hl/tools/gif2h5/gif2mem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hl/tools/gif2h5/gif2mem.c b/hl/tools/gif2h5/gif2mem.c
index 55aae86..0308783 100644
--- a/hl/tools/gif2h5/gif2mem.c
+++ b/hl/tools/gif2h5/gif2mem.c
@@ -218,7 +218,7 @@ Gif2Mem(BYTE *MemGif, GIFTOMEM *GifMemoryStruct)
PlainTextCount++;
if (PlainTextCount > PlainTextArray)
- PlainTextArray = (BYTE)((PlainTextArray << 1) + 1);
+ PlainTextArray = (BYTE)((PlainTextArray << 1) + 1);
if (!(gifPlainText = (GIFPLAINTEXT **)realloc(gifPlainText , sizeof(GIFPLAINTEXT *) * PlainTextArray))) {
printf("Out of memory!");
@@ -240,7 +240,7 @@ Gif2Mem(BYTE *MemGif, GIFTOMEM *GifMemoryStruct)
CommentCount++;
if (CommentCount > CommentArray)
- CommentArray = (BYTE)((CommentArray << 1) + 1);
+ CommentArray = (BYTE)((CommentArray << 1) + 1);
if (!(gifComment = (GIFCOMMENT **)realloc(gifComment , sizeof(GIFCOMMENT *) * CommentArray))) {
printf("Out of memory!");
@@ -305,7 +305,7 @@ Gif2Mem(BYTE *MemGif, GIFTOMEM *GifMemoryStruct)
ApplicationCount++;
if (ApplicationCount > ApplicationArray)
- ApplicationArray = (BYTE)((ApplicationArray << 1) + 1);
+ ApplicationArray = (BYTE)((ApplicationArray << 1) + 1);
if (!(gifApplication = (GIFAPPLICATION **)realloc(gifApplication , sizeof(GIFAPPLICATION *) * ApplicationArray))) {
printf("Out of memory!");