diff options
Diffstat (limited to 'Modules/dlmodule.c')
-rw-r--r-- | Modules/dlmodule.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/dlmodule.c b/Modules/dlmodule.c index b7cd35b..bb49a50 100644 --- a/Modules/dlmodule.c +++ b/Modules/dlmodule.c @@ -86,7 +86,9 @@ dl_call(dlobject *xp, PyObject *args) "function name must be a string"); return NULL; } - func = dlsym(xp->dl_handle, PyString_AsString(name)); + func = (long (*)(long, long, long, long, long, + long, long, long, long, long)) + dlsym(xp->dl_handle, PyString_AsString(name)); if (func == NULL) { PyErr_SetString(PyExc_ValueError, dlerror()); return NULL; |