From a38d9169bc9b1a290b403f9b9c82a096af10b4d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 13 Oct 2001 08:50:10 +0000 Subject: Cast argument to set_panel_userptr to void*. Fixes bug #417240. --- Modules/_curses_panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- cgit v0.12