From 437cd3bca15432263081808f67d5ae6bf155ea30 Mon Sep 17 00:00:00 2001 From: superp00t Date: Wed, 23 Aug 2023 19:02:53 -0400 Subject: [PATCH] fix(os): specify uint32_t type in argument _NSGetExecutablePath --- bc/os/Path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bc/os/Path.cpp b/bc/os/Path.cpp index 465af29..8daadbf 100644 --- a/bc/os/Path.cpp +++ b/bc/os/Path.cpp @@ -27,7 +27,7 @@ void OsGetExeName(char* buffer, size_t chars) { #if defined(WHOA_SYSTEM_MAC) // Darwin char path[1024] = {0}; - _NSGetExecutablePath(path, 1024); + _NSGetExecutablePath(path, uint32_t(1024)); char actualPath[1024] = {0}; realpath(path, actualPath);