luaS_hash changed

This commit is contained in:
Cloud Wu
2020-10-16 12:04:40 +08:00
parent 8ea74c2b93
commit 8a7c2b41a1
2 changed files with 2 additions and 2 deletions

View File

@@ -150,7 +150,7 @@ static unsigned int luai_makeseed(lua_State *L) {
buff[1] = cast(size_t, &STRSEED);
buff[2] = cast(size_t, &luai_makeseed);
buff[3] = cast(size_t, L);
return luaS_hash((const char*)buff, sizeof(buff), h, 1);
return luaS_hash((const char*)buff, sizeof(buff), h);
}
#endif