summaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-05-11 17:48:36 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-05-11 17:48:36 -0300
commitde0f51a02c7e71111168dd4f4f7533445e0cc58a (patch)
tree80bb551a7b3253100eb064778bbdefd93047a8db /ltests.c
parent0567221848b1802ab18cc2ac3e0ae5dc7fd46dc1 (diff)
downloadlua-de0f51a02c7e71111168dd4f4f7533445e0cc58a.tar.gz
lua-de0f51a02c7e71111168dd4f4f7533445e0cc58a.tar.bz2
lua-de0f51a02c7e71111168dd4f4f7533445e0cc58a.zip
wrong type being assigned (not detected because of obj2gco macro)
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index 765ad7b2..12cd2de1 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.104 2010/05/07 18:23:17 roberto Exp roberto $ 2** $Id: ltests.c,v 2.105 2010/05/10 18:24:36 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -714,7 +714,7 @@ static int string_query (lua_State *L) {
714 GCObject *ts; 714 GCObject *ts;
715 int n = 0; 715 int n = 0;
716 for (ts = tb->hash[s]; ts; ts = gch(ts)->next) { 716 for (ts = tb->hash[s]; ts; ts = gch(ts)->next) {
717 setsvalue2s(L, L->top, gco2ts(ts)); 717 setsvalue2s(L, L->top, rawgco2ts(ts));
718 incr_top(L); 718 incr_top(L);
719 n++; 719 n++;
720 } 720 }