mirror of https://github.com/python/cpython
bpo-36027: Really fix "incompatible pointer type" compiler warning (GH-13761)
Apologies for the earlier hasty attempt.
This commit is contained in:
parent
be718c33f0
commit
1e375c6269
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue