Fixing another duh

This commit is contained in:
Lior Halphon 2020-04-25 17:22:43 +03:00
parent aa9ccc724f
commit 09e7068658
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ static const char *executable_folder(void)
}
/* Ugly unportable code! :( */
#ifdef __APPLE__
size_t length = sizeof(path) - 1;
uint32_t length = sizeof(path) - 1;
_NSGetExecutablePath(&path[0], &length);
#else
#ifdef __linux__