Read about our upcoming Code of Conduct on this issue

Commit fe943eca authored by Armin Rigo's avatar Armin Rigo
Browse files

The variable 'uid' was originally unsigned.

parent 09a955eb512d
......@@ -588,7 +588,7 @@ class InstanceRepr(AbstractInstanceRepr):
# 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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment