Skip to content

Commit

Permalink
bpo-36027: Really fix "incompatible pointer type" compiler warning (G…
Browse files Browse the repository at this point in the history
…H-13761)

Apologies for the earlier hasty attempt.
  • Loading branch information
encukou committed Jun 3, 2019
1 parent be718c3 commit 1e375c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objects/longobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -4243,7 +4243,7 @@ long_invmod(PyLongObject *a, PyLongObject *n)

Py_DECREF(c);
Py_DECREF(n);
if (long_compare(a, (PyObject *)_PyLong_One)) {
if (long_compare(a, (PyLongObject *)_PyLong_One)) {
/* a != 1; we don't have an inverse. */
Py_DECREF(a);
Py_DECREF(b);
Expand Down

0 comments on commit 1e375c6

Please sign in to comment.