aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.c')
-rw-r--r--lgc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lgc.c b/lgc.c
index a43cc6a8..7922bc08 100644
--- a/lgc.c
+++ b/lgc.c
@@ -132,7 +132,7 @@ static size_t objsize (GCObject *o) {
132 return luaF_protosize(gco2p(o)); 132 return luaF_protosize(gco2p(o));
133 } 133 }
134 case LUA_VTHREAD: { 134 case LUA_VTHREAD: {
135 return luaE_statesize(gco2th(o)); 135 return luaE_threadsize(gco2th(o));
136 } 136 }
137 case LUA_VSHRSTR: { 137 case LUA_VSHRSTR: {
138 TString *ts = gco2ts(o); 138 TString *ts = gco2ts(o);