Commit 1e375c62 authored by Petr Viktorin's avatar Petr Viktorin Committed by GitHub

bpo-36027: Really fix "incompatible pointer type" compiler warning (GH-13761)

Apologies for the earlier hasty attempt.
parent be718c33
......@@ -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);
......
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