fixed another minor conversion warning on Visual

and made CONTROL() use exit() instead of abort().
This commit is contained in:
Yann Collet 2019-10-26 00:01:11 -07:00
parent 74d872e987
commit 3e5c81ea36

View File

@ -36,7 +36,7 @@ extern "C" {
if (!(c)) { \
UTIL_DISPLAYLEVEL(1, "Error : %s, %i : %s", \
__FILE__, __LINE__, #c); \
abort(); \
exit(1); \
} }
@ -235,7 +235,7 @@ readLinesFromFile(void* dst, size_t dstCapacity,
const char* inputFileName)
{
int nbFiles = 0;
unsigned pos = 0;
size_t pos = 0;
char* const buf = (char*)dst;
FILE* const inputFile = fopen(inputFileName, "r");