summaryrefslogtreecommitdiffstats
path: root/programs/util.h
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2019-04-13 00:40:23 (GMT)
committerYann Collet <cyan@fb.com>2019-04-13 00:40:23 (GMT)
commit63bfb64b80a6b9b310961c04cadd5242c81df0c8 (patch)
treeb4a422ec8f3ef9b6d0a67c437d684ccbfdbbcae2 /programs/util.h
parent8c2429ed1fdeada3dd0c7a273e1d2abd9d98a13f (diff)
downloadlz4-63bfb64b80a6b9b310961c04cadd5242c81df0c8.zip
lz4-63bfb64b80a6b9b310961c04cadd5242c81df0c8.tar.gz
lz4-63bfb64b80a6b9b310961c04cadd5242c81df0c8.tar.bz2
and even more visual conversion warnings
Diffstat (limited to 'programs/util.h')
-rw-r--r--programs/util.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/programs/util.h b/programs/util.h
index 85ac87f..6a35481 100644
--- a/programs/util.h
+++ b/programs/util.h
@@ -571,7 +571,11 @@ UTIL_createFileList(const char** inputNames, unsigned inputNamesNb, char** alloc
pos += strlen(fileTable[i]) + 1;
}
- if (pos > bufSize) { free(buf); free((void*)fileTable); return NULL; } /* can this happen ? */
+ if (pos > bufSize) {
+ free(buf);
+ free((void*)fileTable);
+ return NULL;
+ } /* can this happen ? */
*allocatedBuffer = buf;
*allocatedNamesNb = nbFiles;