mirror of
https://github.com/thunderbrewhq/bc.git
synced 2025-12-12 01:52:30 +00:00
fix(os): specify uint32_t type in argument _NSGetExecutablePath
This commit is contained in:
parent
799c8cd402
commit
437cd3bca1
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ void OsGetExeName(char* buffer, size_t chars) {
|
||||||
#if defined(WHOA_SYSTEM_MAC)
|
#if defined(WHOA_SYSTEM_MAC)
|
||||||
// Darwin
|
// Darwin
|
||||||
char path[1024] = {0};
|
char path[1024] = {0};
|
||||||
_NSGetExecutablePath(path, 1024);
|
_NSGetExecutablePath(path, uint32_t(1024));
|
||||||
|
|
||||||
char actualPath[1024] = {0};
|
char actualPath[1024] = {0};
|
||||||
realpath(path, actualPath);
|
realpath(path, actualPath);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue