[pypy-commit] pypy default: The variable 'uid' was originally unsigned.
arigo
noreply at buildbot.pypy.org
Sun Jun 1 18:55:15 CEST 2014
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r71796:7b30281727ad
Date: 2014-06-01 18:53 +0200
http://bitbucket.org/pypy/pypy/changeset/7b30281727ad/
Log: The variable 'uid' was originally unsigned.
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.Signed, i)
+ uid = r_uint(llop.gc_id(lltype.Signed, i))
#
nameLen = len(instance.typeptr.name)
nameString = rstr.mallocstr(nameLen-1)
More information about the pypy-commit
mailing list