]> granicus.if.org Git - python/commitdiff
Change type on variable to silence gcc 4 warning. Call signature was found at
authorBrett Cannon <bcannon@gmail.com>
Fri, 16 Sep 2005 02:43:35 +0000 (02:43 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 16 Sep 2005 02:43:35 +0000 (02:43 +0000)
http://darwinsource.opendarwin.org/10.4.2/dyld-43.1/src/dyldAPIs.cpp .

Modules/getpath.c

index 418c683ce663614c02e4ed8c63d8266e7d8d7bbc..1ab94c6448e59ba30cc09175242219040e68e23e 100644 (file)
@@ -381,7 +381,7 @@ calculate_path(void)
     NSModule pythonModule;
 #endif
 #ifdef __APPLE__
-    unsigned long nsexeclength = MAXPATHLEN;
+    uint32_t nsexeclength = MAXPATHLEN;
 #endif
 
        /* If there is no slash in the argv0 path, then we have to