Skip to content

Conversation

@encukou
Copy link
Member

@encukou encukou commented Jun 2, 2019

@encukou encukou merged commit e584cbf into python:master Jun 2, 2019
@encukou encukou deleted the warning-fix branch June 2, 2019 23:08
Py_DECREF(c);
Py_DECREF(n);
if (long_compare(a, _PyLong_One)) {
if (long_compare(a, (PyObject *)_PyLong_One)) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong, it should be PyLongObject.
#13761 is the proper fix.

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.

4 participants