From 572a69df78b2636642e9c520ebc8c1d2efa16afe Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 28 Apr 2003 16:26:16 -0300 Subject: Lua does not need all those different types... --- ltable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index 2b4332eb..ed247d4e 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 1.132 2003/04/03 13:35:34 roberto Exp roberto $ +** $Id: ltable.c,v 1.133 2003/04/28 13:31:46 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -85,7 +85,7 @@ static Node *hashnum (const Table *t, lua_Number n) { lua_assert(sizeof(a) <= sizeof(n)); memcpy(a, &n, sizeof(a)); for (i = 1; i < numints; i++) a[0] += a[i]; - return hashmod(t, cast(lu_hash, a[0])); + return hashmod(t, a[0]); } -- cgit v1.2.3-55-g6feb