mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Cast argument to set_panel_userptr to void*. Fixes bug #417240.
This commit is contained in:
parent
7d99ff27e8
commit
a38d9169bc
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ PyCursesPanel_set_panel_userptr(PyCursesPanelObject *self, PyObject *args)
|
|||
}
|
||||
obj = PyTuple_GetItem(args, 0);
|
||||
Py_INCREF(obj);
|
||||
return PyCursesCheckERR(set_panel_userptr(self->pan, obj),
|
||||
return PyCursesCheckERR(set_panel_userptr(self->pan, (void*)obj),
|
||||
"set_panel_userptr");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue