summaryrefslogtreecommitdiffstats
path: root/Python/dynload_next.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-12-23 21:03:36 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-12-23 21:03:36 (GMT)
commit0a116f3a2901b040faa356ffc3dbb91a7f00d215 (patch)
treee40ba85845e717a5314e54c0406a90c1b585111d /Python/dynload_next.c
parent446f32367b4900b8cbbeb155c5553d8277fa56cf (diff)
downloadcpython-0a116f3a2901b040faa356ffc3dbb91a7f00d215.zip
cpython-0a116f3a2901b040faa356ffc3dbb91a7f00d215.tar.gz
cpython-0a116f3a2901b040faa356ffc3dbb91a7f00d215.tar.bz2
Squashed compiler warnings by adding casts, making sure prototypes are in
scope and looking at types.
Diffstat (limited to 'Python/dynload_next.c')
-rw-r--r--Python/dynload_next.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/dynload_next.c b/Python/dynload_next.c
index 0b232f1..cf42cb7 100644
--- a/Python/dynload_next.c
+++ b/Python/dynload_next.c
@@ -77,7 +77,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
newModule = NSLinkModule(image, pathname, LINKOPTIONS);
if (newModule == NULL) {
int errNo;
- char *fileName, *moreErrorStr;
+ const char *fileName, *moreErrorStr;
NSLinkEditErrors c;
NSLinkEditError( &c, &errNo, &fileName, &moreErrorStr );
PyOS_snprintf(errBuf, 512, "Failure linking new module: %s: %s",