diff options
| author | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-23 21:03:36 +0000 |
|---|---|---|
| committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-23 21:03:36 +0000 |
| commit | 164f4ceb71b4c9825a598467346b9f2236d24d96 (patch) | |
| tree | 5288f3b5acc8085c03e82eed8a50b4b4c60289d5 /Python/dynload_next.c | |
| parent | 0f722cf4d0ce4ac2038da0437695c52f65e464e8 (diff) | |
| download | cpython-164f4ceb71b4c9825a598467346b9f2236d24d96.tar.gz | |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/dynload_next.c b/Python/dynload_next.c index 0b232f1206..cf42cb7151 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", |
