From 12efa1ed89016cd01260d45c3b418b1fac0f8911 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Sat, 26 Oct 2019 00:27:32 -0700 Subject: [PATCH] yet another minor visual conversion warning this time for 32-bit systems --- programs/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/util.c b/programs/util.c index 29830d956..6db0c85e7 100644 --- a/programs/util.c +++ b/programs/util.c @@ -275,7 +275,7 @@ UTIL_createFileNamesTable_fromFileName(const char* inputFileName) { U64 const inputFileSize = UTIL_getFileSize(inputFileName); if(inputFileSize > MAX_FILE_OF_FILE_NAMES_SIZE) 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);