diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_curses_panel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_curses_panel.c b/Modules/_curses_panel.c index 42abc2a..feecfcc 100644 --- a/Modules/_curses_panel.c +++ b/Modules/_curses_panel.c @@ -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"); } |