summaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.c')
-rw-r--r--lgc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lgc.c b/lgc.c
index 02dfaebc..9e84919f 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.c,v 1.65 2000/09/11 17:38:42 roberto Exp roberto $ 2** $Id: lgc.c,v 1.66 2000/09/19 08:42:35 roberto Exp roberto $
3** Garbage Collector 3** Garbage Collector
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -152,7 +152,7 @@ static int hasmark (const TObject *o) {
152 case TAG_TABLE: 152 case TAG_TABLE:
153 return ismarked(hvalue(o)); 153 return ismarked(hvalue(o));
154 case TAG_LCLOSURE: case TAG_CCLOSURE: 154 case TAG_LCLOSURE: case TAG_CCLOSURE:
155 return ismarked(clvalue(o)->mark); 155 return ismarked(clvalue(o));
156 default: /* number */ 156 default: /* number */
157 return 1; 157 return 1;
158 } 158 }