fixed another minor conversion warning on Visual
and made CONTROL() use exit() instead of abort().
This commit is contained in:
parent
74d872e987
commit
3e5c81ea36
@ -36,7 +36,7 @@ extern "C" {
|
|||||||
if (!(c)) { \
|
if (!(c)) { \
|
||||||
UTIL_DISPLAYLEVEL(1, "Error : %s, %i : %s", \
|
UTIL_DISPLAYLEVEL(1, "Error : %s, %i : %s", \
|
||||||
__FILE__, __LINE__, #c); \
|
__FILE__, __LINE__, #c); \
|
||||||
abort(); \
|
exit(1); \
|
||||||
} }
|
} }
|
||||||
|
|
||||||
|
|
||||||
@ -235,7 +235,7 @@ readLinesFromFile(void* dst, size_t dstCapacity,
|
|||||||
const char* inputFileName)
|
const char* inputFileName)
|
||||||
{
|
{
|
||||||
int nbFiles = 0;
|
int nbFiles = 0;
|
||||||
unsigned pos = 0;
|
size_t pos = 0;
|
||||||
char* const buf = (char*)dst;
|
char* const buf = (char*)dst;
|
||||||
FILE* const inputFile = fopen(inputFileName, "r");
|
FILE* const inputFile = fopen(inputFileName, "r");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user