Kaydet (Commit) 96b5ee88 authored tarafından Guido van Rossum's avatar Guido van Rossum

Vladimir Marangozov:

Here's a patch that avoids a warning caused by the "const char* pathname"
declaration for _PyImport_GetDynLoadFunc (in dynload_aix). The "aix_load"
function's 1st arg is prototyped as "char *pathname".
üst 57315754
......@@ -221,7 +221,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *name, const char *funcname,
if (!staticmodlistptr)
if (aix_getoldmodules(&staticmodlistptr) == -1)
return NULL;
p = (dl_funcptr) aix_load(pathname, L_NOAUTODEFER, 0);
p = (dl_funcptr) aix_load((char *)pathname, L_NOAUTODEFER, 0);
if (p == NULL) {
aix_loaderror(pathname);
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment