1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

fixing AppVeyor errors

This commit is contained in:
Ahmed Abdellah
2019-10-24 15:25:48 +01:00
parent cddb05ef8c
commit 0b3096596a
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ UTIL_createFileNamesTable_fromFileName(const char* inputFileName) {
if(inputFileSize > MAX_FILE_OF_FILE_NAMES_SIZE)
return NULL;
buf = (char*) malloc(inputFileSize * sizeof(char));
buf = (char*) malloc((size_t) inputFileSize * sizeof(char));
if(!buf) {
UTIL_DISPLAYLEVEL(1, "[ERROR][UTIL_readFileNamesTableFromFile] Can't create buffer.\n");
return NULL;