aboutsummaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltable.c b/ltable.c
index 2b4332eb..ed247d4e 100644
--- a/ltable.c
+++ b/ltable.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.c,v 1.132 2003/04/03 13:35:34 roberto Exp roberto $ 2** $Id: ltable.c,v 1.133 2003/04/28 13:31:46 roberto Exp roberto $
3** Lua tables (hash) 3** Lua tables (hash)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -85,7 +85,7 @@ static Node *hashnum (const Table *t, lua_Number n) {
85 lua_assert(sizeof(a) <= sizeof(n)); 85 lua_assert(sizeof(a) <= sizeof(n));
86 memcpy(a, &n, sizeof(a)); 86 memcpy(a, &n, sizeof(a));
87 for (i = 1; i < numints; i++) a[0] += a[i]; 87 for (i = 1; i < numints; i++) a[0] += a[i];
88 return hashmod(t, cast(lu_hash, a[0])); 88 return hashmod(t, a[0]);
89} 89}
90 90
91 91