Merge branch 'float4' of https://github.com/petrihakkinen/luau into float4

This commit is contained in:
Petri Häkkinen 2021-11-22 13:02:25 +02:00
commit 943ef8e743

View file

@ -97,7 +97,7 @@ static LuaNode* hashnum(const Table* t, double n)
static LuaNode* hashvec(const Table* t, const float* v)
{
unsigned int i[4];
unsigned int i[LUA_VECTOR_SIZE];
memcpy(i, v, sizeof(i));
// convert -0 to 0 to make sure they hash to the same value