diff options
Diffstat (limited to 'ltests.c')
| -rw-r--r-- | ltests.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltests.c,v 2.178 2014/07/18 12:17:54 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.179 2014/07/18 13:36:14 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 | */ |
| @@ -319,7 +319,7 @@ static void checkobject (global_State *g, GCObject *o, int maybedead) { | |||
| 319 | TValue uservalue; | 319 | TValue uservalue; |
| 320 | Table *mt = gco2u(o)->metatable; | 320 | Table *mt = gco2u(o)->metatable; |
| 321 | checkobjref(g, o, mt); | 321 | checkobjref(g, o, mt); |
| 322 | getuservalue(g->mainthread, rawgco2u(o), &uservalue); | 322 | getuservalue(g->mainthread, gco2u(o), &uservalue); |
| 323 | checkvalref(g, o, &uservalue); | 323 | checkvalref(g, o, &uservalue); |
| 324 | break; | 324 | break; |
| 325 | } | 325 | } |
