From d16b6228a63dc20d97cab058156185b372ba5d98 Mon Sep 17 00:00:00 2001 From: jsteube Date: Fri, 30 Sep 2016 18:55:53 +0200 Subject: [PATCH] Fix exec_path_len replacement on OSX --- src/folder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/folder.c b/src/folder.c index 78cae2d17..bfd444116 100644 --- a/src/folder.c +++ b/src/folder.c @@ -46,7 +46,7 @@ char *get_exec_path () #elif defined (__APPLE__) - size_t size = exec_path_len; + u32 size = (u32) exec_path_len; if (_NSGetExecutablePath (exec_path, &size) != 0) {