fixing AppVeyor errors
This commit is contained in:
parent
cddb05ef8c
commit
0b3096596a
@ -247,7 +247,7 @@ UTIL_createFileNamesTable_fromFileName(const char* inputFileName) {
|
|||||||
if(inputFileSize > MAX_FILE_OF_FILE_NAMES_SIZE)
|
if(inputFileSize > MAX_FILE_OF_FILE_NAMES_SIZE)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
buf = (char*) malloc(inputFileSize * sizeof(char));
|
buf = (char*) malloc((size_t) inputFileSize * sizeof(char));
|
||||||
if(!buf) {
|
if(!buf) {
|
||||||
UTIL_DISPLAYLEVEL(1, "[ERROR][UTIL_readFileNamesTableFromFile] Can't create buffer.\n");
|
UTIL_DISPLAYLEVEL(1, "[ERROR][UTIL_readFileNamesTableFromFile] Can't create buffer.\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -836,7 +836,7 @@ int main(int argCount, const char* argv[])
|
|||||||
filenameTableSize = concatenatedTables->tableSize;
|
filenameTableSize = concatenatedTables->tableSize;
|
||||||
tableBuf = concatenatedTables->buf;
|
tableBuf = concatenatedTables->buf;
|
||||||
|
|
||||||
filenameIdx += extendedTable->tableSize;
|
filenameIdx += (unsigned) extendedTable->tableSize;
|
||||||
isTableBufferBased = 1;
|
isTableBufferBased = 1;
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user