BugFix: overflow of uint32_t that cause x64 build crash.