diff --git a/src/common/file_system.cpp b/src/common/file_system.cpp index 1f0507807..c10035e48 100644 --- a/src/common/file_system.cpp +++ b/src/common/file_system.cpp @@ -1396,7 +1396,7 @@ std::string GetProgramPath() char* buffer = static_cast(std::realloc(nullptr, curSize)); for (;;) { - uint32 nChars = curSize - 1; + u32 nChars = curSize - 1; int res = _NSGetExecutablePath(buffer, &nChars); if (res == 0) {