[pypy-commit] pypy default: fix 2176b15be96f hopefully

rlamy noreply at buildbot.pypy.org
Sat May 31 22:29:29 CEST 2014


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: 
Changeset: r71790:fffc1c0969ff
Date: 2014-05-31 21:28 +0100
http://bitbucket.org/pypy/pypy/changeset/fffc1c0969ff/

Log:	fix 2176b15be96f hopefully

diff --git a/rpython/rtyper/lltypesystem/rclass.py b/rpython/rtyper/lltypesystem/rclass.py
--- a/rpython/rtyper/lltypesystem/rclass.py
+++ b/rpython/rtyper/lltypesystem/rclass.py
@@ -588,7 +588,7 @@
         # Two choices: the first gives a fast answer but it can change
         # (typically only once) during the life of the object.
         #uid = r_uint(cast_ptr_to_int(i))
-        uid = llop.gc_id(lltype.Unsigned, i)
+        uid = llop.gc_id(lltype.Signed, i)
         #
         nameLen = len(instance.typeptr.name)
         nameString = rstr.mallocstr(nameLen-1)


More information about the pypy-commit mailing list