diff --git a/reactos/lib/rtl/sprintf.c b/reactos/lib/rtl/sprintf.c index 38673863a0a..e020319603a 100644 --- a/reactos/lib/rtl/sprintf.c +++ b/reactos/lib/rtl/sprintf.c @@ -459,7 +459,10 @@ int _vsnprintf(char *buf, size_t cnt, const char *fmt, va_list args) } else if (*fmt == 'I' && *(fmt+1) == '6' && *(fmt+2) == '4') { qualifier = *fmt; fmt += 3; - } + } else if (*fmt == 'I' && *(fmt+1) == '3' && *(fmt+2) == '2') { + qualifier = 'l'; + fmt += 3; + } /* default base */ base = 10; diff --git a/reactos/lib/rtl/swprintf.c b/reactos/lib/rtl/swprintf.c index 47be9107d1b..4a71ffda121 100644 --- a/reactos/lib/rtl/swprintf.c +++ b/reactos/lib/rtl/swprintf.c @@ -457,7 +457,10 @@ int _vsnwprintf(wchar_t *buf, size_t cnt, const wchar_t *fmt, va_list args) } else if (*fmt == L'I' && *(fmt+1) == L'6' && *(fmt+2) == L'4') { qualifier = *fmt; fmt += 3; - } + } else if (*fmt == L'I' && *(fmt+1) == L'3' && *(fmt+2) == L'2') { + qualifier = L'l'; + fmt += 3; + } /* default base */ base = 10;