Commit 025153fb authored by Stefan Behnel's avatar Stefan Behnel

signedness fix for unicode-for-loop iteration

parent c8852889
...@@ -137,7 +137,7 @@ class IterationTransform(Visitor.VisitorTransform): ...@@ -137,7 +137,7 @@ class IterationTransform(Visitor.VisitorTransform):
return node return node
PyUnicode_AS_UNICODE_func_type = PyrexTypes.CFuncType( PyUnicode_AS_UNICODE_func_type = PyrexTypes.CFuncType(
PyrexTypes.c_int_ptr_type, [ # FIXME: return type is actually Py_UNICODE* PyrexTypes.CPtrType(PyrexTypes.c_uint_type), [ # FIXME: return type is actually Py_UNICODE*
PyrexTypes.CFuncTypeArg("s", Builtin.unicode_type, None) PyrexTypes.CFuncTypeArg("s", Builtin.unicode_type, None)
]) ])
......
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