commit | a38d9169bc9b1a290b403f9b9c82a096af10b4d6 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sat Oct 13 08:50:10 2001 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sat Oct 13 08:50:10 2001 +0000 |
tree | 24add9ceb34261c543c4af758284c68f3904e115 | |
parent | 7d99ff27e8ed628ad076162cfdc6e246daa33108 [diff] |
Cast argument to set_panel_userptr to void*. Fixes bug #417240.
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 @@ } 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"); }