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

Apologies for the earlier hasty attempt.
This commit is contained in:
Petr Viktorin 2019-06-03 02:28:29 +02:00 committed by GitHub
parent be718c33f0
commit 1e375c6269
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);