mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +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
|
@ -421,7 +421,7 @@ calculate_path(void)
|
|||
*/
|
||||
pythonModule = NSModuleForSymbol(NSLookupAndBindSymbol("_Py_Initialize"));
|
||||
/* Use dylib functions to find out where the framework was loaded from */
|
||||
buf = NSLibraryNameForModule(pythonModule);
|
||||
buf = (char *)NSLibraryNameForModule(pythonModule);
|
||||
if (buf != NULL) {
|
||||
/* We're in a framework. */
|
||||
/* See if we might be in the build directory. The framework in the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue