mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Squashed compiler warnings by adding casts, making sure prototypes are in
scope and looking at types.
This commit is contained in:
parent
446f32367b
commit
0a116f3a29
4 changed files with 7 additions and 3 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue