support the msvc specific I64 specifier in our sprintf
This commit is contained in:
@@ -486,6 +486,18 @@ int xvsnprintf (char* Buf, size_t Size, const char* Format, va_list ap)
|
|||||||
}
|
}
|
||||||
break;
|
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':
|
case 'l':
|
||||||
F = *Format++;
|
F = *Format++;
|
||||||
if (F == 'l') {
|
if (F == 'l') {
|
||||||
|
|||||||
Reference in New Issue
Block a user