[*] Fix hash in use-version-write-prjver-run.lua

This commit is contained in:
Reece Wilson 2024-04-28 13:59:21 +01:00
parent d7386a591a
commit 918cb8f228

View File

@ -201,7 +201,7 @@ extern "C"
uint32_ct i = 0;
for (; i < sizeof(info); i++)
{
result ^= (uint32_ct)(((const char *)&info)[i]) * (uint32_ct)(FNV1_MAGIC_PRIME32);
result = (result ^ (uint32_ct)(((const char *)&info)[i])) * (uint32_ct)(FNV1_MAGIC_PRIME32);
}
return g_result = result;