diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-10-13 08:50:10 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-10-13 08:50:10 (GMT) |
commit | a38d9169bc9b1a290b403f9b9c82a096af10b4d6 (patch) | |
tree | 24add9ceb34261c543c4af758284c68f3904e115 | |
parent | 7d99ff27e8ed628ad076162cfdc6e246daa33108 (diff) | |
download | cpython-a38d9169bc9b1a290b403f9b9c82a096af10b4d6.zip cpython-a38d9169bc9b1a290b403f9b9c82a096af10b4d6.tar.gz cpython-a38d9169bc9b1a290b403f9b9c82a096af10b4d6.tar.bz2 |
Cast argument to set_panel_userptr to void*. Fixes bug #417240.
-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"); } |