fixing type conversion error
This commit is contained in:
1 parent
0b3096596a
commit
5f9e868ee8
1 file changed
+1
-1
+1
-1
@@ -253,7 +253,7 @@ UTIL_createFileNamesTable_fromFileName(const char* inputFileName) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ret_nbFiles = readFromFile(buf, inputFileSize, inputFileName);
|
||||
ret_nbFiles = readFromFile(buf, (size_t) inputFileSize, inputFileName);
|
||||
|
||||
if(ret_nbFiles <= 0) {
|
||||
free(buf);
|
||||
|
||||
Reference in new issue
Block a user