Fixing another duh

This commit is contained in:
Lior Halphon 2020-04-25 17:22:43 +03:00
parent aa9ccc724f
commit 09e7068658

View File

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