From fc849eb0970e552b99369ecef7122c17a1a2bb8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Unneb=C3=A4ck?= Date: Sun, 6 Dec 2015 18:34:34 +0100 Subject: [PATCH] small fixes for platform/osx.c --- src/platform/osx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platform/osx.c b/src/platform/osx.c index 3a2c8a3cef..e18f51cc41 100644 --- a/src/platform/osx.c +++ b/src/platform/osx.c @@ -21,6 +21,7 @@ #if defined(__APPLE__) && defined(__MACH__) #include "platform.h" +#include "../util/util.h" #include @@ -32,7 +33,7 @@ bool platform_check_steam_overlay_attached() { void platform_get_exe_path(utf8 *outPath) { char exePath[MAX_PATH]; - int size = MAX_PATH; + uint32_t size = MAX_PATH; int result = _NSGetExecutablePath(exePath, &size); if (result != 0) { log_fatal("failed to get path");