www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 225] New: object.d uses uint instead of hash_t

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: jpelcis 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.


-- 
Jun 26 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=225


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





Fixed DMD 0.162


-- 
Jun 30 2006