http://d.puremagic.com/issues/show_bug.cgi?id=3644

           Summary: Wrong UCHAR_MAX value in module core.stdc.limits
           Product: D
           Version: 2.032
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: s...@invisibleduck.org
        ReportedBy: 2kor...@gmail.com


--- Comment #0 from Koroskin Denis <2kor...@gmail.com> 2009-12-24 05:22:57 PST 
---
It's a simple typo: 

// Currently
enum UCHAR_MAX = ubyte.min; 
enum CHAR_MIN = char.max;

// Should be
enum UCHAR_MAX = ubyte.max;
enum CHAR_MIN = char.min;

It's a trivial fix, but I have to manually patch druntime each new release of
DMD so the fix is highly appreciated.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to