diff --git a/Modules/getpath.c b/Modules/getpath.c index 418c683ce66..1ab94c6448e 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