diff options
Diffstat (limited to 'src/lj_cconv.c')
-rw-r--r-- | src/lj_cconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_cconv.c b/src/lj_cconv.c index b09c0abe..97091d08 100644 --- a/src/lj_cconv.c +++ b/src/lj_cconv.c | |||
@@ -547,7 +547,7 @@ void lj_cconv_ct_tv(CTState *cts, CType *d, | |||
547 | flags |= CCF_FROMTV; | 547 | flags |= CCF_FROMTV; |
548 | } else if (tviscdata(o)) { | 548 | } else if (tviscdata(o)) { |
549 | sp = cdataptr(cdataV(o)); | 549 | sp = cdataptr(cdataV(o)); |
550 | sid = cdataV(o)->typeid; | 550 | sid = cdataV(o)->ctypeid; |
551 | s = ctype_get(cts, sid); | 551 | s = ctype_get(cts, sid); |
552 | if (ctype_isref(s->info)) { /* Resolve reference for value. */ | 552 | if (ctype_isref(s->info)) { /* Resolve reference for value. */ |
553 | lua_assert(s->size == CTSIZE_PTR); | 553 | lua_assert(s->size == CTSIZE_PTR); |