summaryrefslogtreecommitdiffstats
path: root/Modules/getpath.c
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2005-09-16 02:43:35 (GMT)
committerBrett Cannon <bcannon@gmail.com>2005-09-16 02:43:35 (GMT)
commitbd9c3f702825a82e0ac8fbcc2cdc40364de6747f (patch)
tree680243a8a0de7683c517aaa193574de4cca9de04 /Modules/getpath.c
parent532dacffd8203c83a5dfedfe672050776a72cfde (diff)
downloadcpython-bd9c3f702825a82e0ac8fbcc2cdc40364de6747f.zip
cpython-bd9c3f702825a82e0ac8fbcc2cdc40364de6747f.tar.gz
cpython-bd9c3f702825a82e0ac8fbcc2cdc40364de6747f.tar.bz2
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 .
Diffstat (limited to 'Modules/getpath.c')
-rw-r--r--Modules/getpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c
index 418c683..1ab94c6 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