summaryrefslogtreecommitdiffstats
path: root/Modules/dlmodule.c
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-02-22 15:52:55 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-02-22 15:52:55 (GMT)
commita1a690fa9cf3f2f02aec97119a3a81806bb247ac (patch)
tree642a189c855d77577606113159b16518f08ccea0 /Modules/dlmodule.c
parentb995509c2f3ede335d9c15e3274968e03708baa3 (diff)
downloadcpython-a1a690fa9cf3f2f02aec97119a3a81806bb247ac.zip
cpython-a1a690fa9cf3f2f02aec97119a3a81806bb247ac.tar.gz
cpython-a1a690fa9cf3f2f02aec97119a3a81806bb247ac.tar.bz2
Patch #103926: fix two warnings from Tru64's compiler
Diffstat (limited to 'Modules/dlmodule.c')
-rw-r--r--Modules/dlmodule.c4
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;