bpo-33012: Fix more invalid function cast warnings with gcc 8. (GH-10… · python/cpython@1659c08 (original) (raw)

`@@ -6794,7 +6794,7 @@ static slotdef slotdefs[] = {

`

6794

6794

`"repr($self, /)\n--\n\nReturn repr(self)."),

`

6795

6795

`TPSLOT("hash", tp_hash, slot_tp_hash, wrap_hashfunc,

`

6796

6796

`"hash($self, /)\n--\n\nReturn hash(self)."),

`

6797

``

`-

FLSLOT("call", tp_call, slot_tp_call, (wrapperfunc)wrap_call,

`

``

6797

`+

FLSLOT("call", tp_call, slot_tp_call, (wrapperfunc)(void(*)(void))wrap_call,

`

6798

6798

`"call($self, /, *args, **kwargs)\n--\n\nCall self as a function.",

`

6799

6799

`PyWrapperFlag_KEYWORDS),

`

6800

6800

`TPSLOT("str", tp_str, slot_tp_str, wrap_unaryfunc,

`

`@@ -6830,7 +6830,7 @@ static slotdef slotdefs[] = {

`

6830

6830

`TPSLOT("delete", tp_descr_set, slot_tp_descr_set,

`

6831

6831

`wrap_descr_delete,

`

6832

6832

`"delete($self, instance, /)\n--\n\nDelete an attribute of instance."),

`

6833

``

`-

FLSLOT("init", tp_init, slot_tp_init, (wrapperfunc)wrap_init,

`

``

6833

`+

FLSLOT("init", tp_init, slot_tp_init, (wrapperfunc)(void(*)(void))wrap_init,

`

6834

6834

`"init($self, /, *args, **kwargs)\n--\n\n"

`

6835

6835

`"Initialize self. See help(type(self)) for accurate signature.",

`

6836

6836

`PyWrapperFlag_KEYWORDS),

`