Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix implicit sign conversion warning #4148

Merged
merged 2 commits into from May 14, 2021
Merged

fix implicit sign conversion warning #4148

merged 2 commits into from May 14, 2021

Conversation

maxbachmann
Copy link
Contributor

This is caused e.g. by:

__pyx_t_8 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_9, 1+__pyx_t_9);

from

        code.putln("%s = __Pyx_PyObject_FastCall(%s, __pyx_callargs+1-%s, %d+%s);" % (
            self.result(),
            function,
            arg_offset_cname,
            len(args),
            arg_offset_cname))

As an alternative the explicit conversion could be placed in each __Pyx_PyObject_FastCall call.

@scoder scoder merged commit afda509 into cython:master May 14, 2021
@scoder scoder added this to the 3.0 milestone May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants