Commit a38d9169 authored by Martin v. Löwis's avatar Martin v. Löwis

Cast argument to set_panel_userptr to void*. Fixes bug #417240.

parent 7d99ff27
......@@ -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");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment