diff options
author | Yann Collet <cyan@fb.com> | 2019-04-13 00:40:23 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2019-04-13 00:40:23 (GMT) |
commit | 63bfb64b80a6b9b310961c04cadd5242c81df0c8 (patch) | |
tree | b4a422ec8f3ef9b6d0a67c437d684ccbfdbbcae2 /programs/util.h | |
parent | 8c2429ed1fdeada3dd0c7a273e1d2abd9d98a13f (diff) | |
download | lz4-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.h | 6 |
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; |