aboutsummaryrefslogtreecommitdiff
path: root/programs
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2019-04-12 17:40:23 -0700
committerYann Collet <cyan@fb.com>2019-04-12 17:40:23 -0700
commit63bfb64b80a6b9b310961c04cadd5242c81df0c8 (patch)
treeb4a422ec8f3ef9b6d0a67c437d684ccbfdbbcae2 /programs
parent8c2429ed1fdeada3dd0c7a273e1d2abd9d98a13f (diff)
downloadlz4-63bfb64b80a6b9b310961c04cadd5242c81df0c8.tar.gz
and even more visual conversion warnings
Diffstat (limited to 'programs')
-rw-r--r--programs/util.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/programs/util.h b/programs/util.h
index 85ac87f5..6a354817 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;