yet another minor visual conversion warning

this time for 32-bit systems
dev
Yann Collet 2019-10-26 00:27:32 -07:00
parent 3e5c81ea36
commit 12efa1ed89
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ UTIL_createFileNamesTable_fromFileName(const char* inputFileName)
{ U64 const inputFileSize = UTIL_getFileSize(inputFileName); { U64 const inputFileSize = UTIL_getFileSize(inputFileName);
if(inputFileSize > MAX_FILE_OF_FILE_NAMES_SIZE) if(inputFileSize > MAX_FILE_OF_FILE_NAMES_SIZE)
return NULL; return NULL;
bufSize = inputFileSize + 1; /* (+1) to add '\0' at the end of last filename */ bufSize = (size_t)(inputFileSize + 1); /* (+1) to add '\0' at the end of last filename */
} }
buf = (char*) malloc(bufSize); buf = (char*) malloc(bufSize);