Skip to content

Commit cb6f751

Browse files
authored
Need to update type in cast
1 parent 238724f commit cb6f751

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Objects/descrobject.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,7 @@ static PyObject *
14161416
wrapper_qualname(PyObject *self, void *Py_UNUSED(ignored))
14171417
{
14181418
wrapperobject *wp = (wrapperobject *)self;
1419-
return descr_get_qualname((PyDescrObject *)wp->descr, NULL);
1419+
return descr_get_qualname((PyObject *)wp->descr, NULL);
14201420
}
14211421

14221422
static PyGetSetDef wrapper_getsets[] = {

0 commit comments

Comments
 (0)