From: Brett Cannon Date: Fri, 16 Sep 2005 02:43:35 +0000 (+0000) Subject: Change type on variable to silence gcc 4 warning. Call signature was found at X-Git-Tag: v2.5a0~1370 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd9c3f702825a82e0ac8fbcc2cdc40364de6747f;p=python Change type on variable to silence gcc 4 warning. Call signature was found at http://darwinsource.opendarwin.org/10.4.2/dyld-43.1/src/dyldAPIs.cpp . --- diff --git a/Modules/getpath.c b/Modules/getpath.c index 418c683ce6..1ab94c6448 100644 --- a/Modules/getpath.c +++ b/Modules/getpath.c @@ -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