Skip to content

bpo-36027 bpo-36974: Fix "incompatible pointer type" compiler warnings#13758

Merged
encukou merged 1 commit intopython:masterfrom
encukou:warning-fix
Jun 2, 2019
Merged

bpo-36027 bpo-36974: Fix "incompatible pointer type" compiler warnings#13758
encukou merged 1 commit intopython:masterfrom
encukou:warning-fix

Conversation

@encukou
Copy link
Copy Markdown
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
Copy Markdown
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