http://bugs.winehq.org/show_bug.cgi?id=19403
Summary: _ltoa, _ui64toa, _ultoa etc. in string.c seems to be incorrect Product: Wine Version: 1.1.26 Platform: All URL: http://source.winehq.org/source/dlls/ntdll/string.c OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: runtime00@gmail.com
It seems that '' + digit at line 549 should be replaced with '0' + digit
545 do { 546 digit = val % radix; 547 val = val / radix; 548 if (digit < 10) { 549 *--pos = '' + digit; 550 } else { 551 *--pos = 'a' + digit - 10; 552 } /* if */ 553 } while (val != 0L);