really MSVC.
This commit is contained in:
parent
4fbd5b7c0a
commit
6815421294
2
src/lt.c
2
src/lt.c
|
@ -430,7 +430,7 @@ LT_BOOL LT_Assert(LT_BOOL assertion, const char *fmt, ...)
|
||||||
assertError = LT_TRUE;
|
assertError = LT_TRUE;
|
||||||
assertString = malloc(512);
|
assertString = malloc(512);
|
||||||
|
|
||||||
sprintf(ftString, ":%ld:", ftell(parseFile));
|
sprintf(ftString, ":%d:", (int)ftell(parseFile));
|
||||||
|
|
||||||
va_start(va, fmt);
|
va_start(va, fmt);
|
||||||
vsprintf(asBuffer, fmt, va);
|
vsprintf(asBuffer, fmt, va);
|
||||||
|
|
Reference in New Issue
Block a user