1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

support the msvc specific I64 specifier in our sprintf

This commit is contained in:
mrdudz 2022-11-28 06:26:14 +01:00
parent 05c2530243
commit 15eb1c5f5e

View File

@ -486,6 +486,18 @@ int xvsnprintf (char* Buf, size_t Size, const char* Format, va_list ap)
}
break;
/* support the MSVC specific I64 for long long */
case 'I':
F = *Format++;
if (F == '6') {
F = *Format++;
if (F == '4') {
F = *Format++;
P.LengthMod = lmLongLong;
}
}
break;
case 'l':
F = *Format++;
if (F == 'l') {