Commit af2c3655 authored by Robert Bradshaw's avatar Robert Bradshaw

Fix long-to-int compiler warning.

parent d66ca482
...@@ -5497,7 +5497,7 @@ class PyMethodCallNode(SimpleCallNode): ...@@ -5497,7 +5497,7 @@ class PyMethodCallNode(SimpleCallNode):
code.putln("%s = NULL;" % self_arg) code.putln("%s = NULL;" % self_arg)
arg_offset_cname = None arg_offset_cname = None
if len(args) > 1: if len(args) > 1:
arg_offset_cname = code.funcstate.allocate_temp(PyrexTypes.c_py_ssize_t_type, manage_ref=False) arg_offset_cname = code.funcstate.allocate_temp(PyrexTypes.c_int_type, manage_ref=False)
code.putln("%s = 0;" % arg_offset_cname) code.putln("%s = 0;" % arg_offset_cname)
def attribute_is_likely_method(attr): def attribute_is_likely_method(attr):
......
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