Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: PR 13266 introduced a compiler warning.
Objects/longobject.c: In function ‘long_invmod’: Objects/longobject.c:4246:25: warning: passing argument 2 of ‘long_compare’ from incompatible pointer type [-Wincompatible-pointer-types] if (long_compare(a, _PyLong_One)) { ^~~~~~~~~~~ Objects/longobject.c:3057:1: note: expected ‘PyLongObject * {aka struct _longobject *}’ but argument is of type ‘PyObject * {aka struct _object *}’ long_compare(PyLongObject *a, PyLongObject *b) ^~~~~~~~~~~~ ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36027> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com