Mercurial > cpython-lru_cache-weakref
diff Python/dynload_next.c @ 26764:6b31b26e418d legacy-trunk
Squashed compiler warnings by adding casts, making sure prototypes are in
scope and looking at types.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Mon, 23 Dec 2002 21:03:36 +0000 |
| parents | 794fe37ca5f4 |
| children | f08529879db1 |
line wrap: on
line diff
--- a/Python/dynload_next.c Mon Dec 23 19:03:00 2002 +0000 +++ b/Python/dynload_next.c Mon Dec 23 21:03:36 2002 +0000 @@ -77,7 +77,7 @@ 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",
