Archived
1
0

really MSVC.

This commit is contained in:
Marrub 2015-08-06 09:01:20 -04:00
parent 4fbd5b7c0a
commit 6815421294

View File

@ -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);