Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
Operating System: ReactOS
Platform: x86 Hardware
Description
vsnprintf: added support for ll size specifier
fixed and tested
patch follows:
file lib\rtl\sprintf.c line 464
/* get the conversion qualifier */
qualifier = -1;
- if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || *fmt == 'w') {
+ if (*fmt == 'l' && *(fmt+1) == 'l') { + qualifier = 'I'; + fmt += 2; + }else if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || *fmt == 'w') {