summaryrefslogtreecommitdiff
path: root/src/lj_cconv.c
diff options
context:
space:
mode:
authorMike Pall <mike>2012-07-03 13:19:32 +0200
committerMike Pall <mike>2012-07-03 13:19:32 +0200
commit17d3fc47f30f8d8e62231252ce41f4feba71aa2f (patch)
tree6134124f9357a0f4ca821556de644337491e4e0b /src/lj_cconv.c
parentc740a302238cf650dd7fef6ebed8aeb878cf0c1d (diff)
downloadluajit2-17d3fc47f30f8d8e62231252ce41f4feba71aa2f.tar.gz
Avoid pesky compiler warnings about C++ keywords (eh?).
Diffstat (limited to 'src/lj_cconv.c')
-rw-r--r--src/lj_cconv.c2
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,
flags |= CCF_FROMTV;
} else if (tviscdata(o)) {
sp = cdataptr(cdataV(o));
- sid = cdataV(o)->typeid;
+ sid = cdataV(o)->ctypeid;
s = ctype_get(cts, sid);
if (ctype_isref(s->info)) { /* Resolve reference for value. */
lua_assert(s->size == CTSIZE_PTR);