[Issue 225] New: object.d uses uint instead of hash_t

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 26 13:46:30 PDT 2006


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

           Summary: object.d uses uint instead of hash_t
           Product: D
           Version: 0.161
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: jpelcis at gmail.com


In internals\object.d, there is

class Object
{
    ...
    hash_t toHash()
    ...
}

In object.d, it is

class Object
{
    ...
    uint toHash();
    ...
}

While there's no difference on a 32-bit system, this could wreak havoc on
64-bit.  Changing the one in object.d should fix the problem.


-- 




More information about the Digitalmars-d-bugs mailing list