[Bug 19403] New: _ltoa, _ui64toa, _ultoa etc. in string.c seems to be incorrect

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 21 03:17:23 CDT 2009


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 at winehq.org
        ReportedBy: runtime00 at 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);

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list