commit | 73820a60cc3c990abb351540ca27bf7689bce8ac | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | Fri Sep 14 01:35:59 2018 -0700 |
committer | GitHub <noreply@github.com> | Fri Sep 14 01:35:59 2018 -0700 |
tree | 851b305aeacb3625042a2c6371f9da5bf8c1f07a | |
parent | 00bc08ec11d99cc68c7d5dc790ad3e609982a9c7 [diff] [blame] |
Fix compiler warning with a type cast (GH-9300)
diff --git a/Objects/longobject.c b/Objects/longobject.c index 102093e..afe30bc 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c
@@ -5286,7 +5286,7 @@ if (PyLong_CheckExact(self)) { return PyTuple_Pack(2, self, _PyLong_One); } - numerator = _PyLong_Copy(self); + numerator = _PyLong_Copy((PyLongObject *) self); if (numerator == NULL) { return NULL; }