X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fdarwin-os.c;h=4f7aa71137e2df343eace7452798592f7e8d08ae;hb=085501b44cc1cbdd9e260139d30b383372ddd1b8;hp=2923a7a18c1a2662c79cde96fba05b175af31d74;hpb=3d2165e67f9ad1443f6e7d8ad24810000b0436e8;p=sbcl.git diff --git a/src/runtime/darwin-os.c b/src/runtime/darwin-os.c index 2923a7a..4f7aa71 100644 --- a/src/runtime/darwin-os.c +++ b/src/runtime/darwin-os.c @@ -22,12 +22,13 @@ #include #include #include "bsd-os.h" +#include char * os_get_runtime_executable_path() { char path[PATH_MAX + 1]; - uint32_t size = sizeof(path); + size_t size = sizeof(path); if (_NSGetExecutablePath(path, &size) == -1) return NULL; @@ -36,3 +37,4 @@ os_get_runtime_executable_path() return copied_string(path); } +