summaryrefslogtreecommitdiff
path: root/src/lj_carith.c
diff options
context:
space:
mode:
authorMike Pall <mike>2012-07-09 16:02:05 +0200
committerMike Pall <mike>2012-07-09 16:02:05 +0200
commitf20ff8a30dbec50bc20b47702c4c61c08f67bd5b (patch)
tree24829aa879eeaf94ecaa2d6dfe2bc53357a01562 /src/lj_carith.c
parent6e4d0fdc8e8121fac45d85661c638093fbfd1e3a (diff)
downloadluajit2-f20ff8a30dbec50bc20b47702c4c61c08f67bd5b.tar.gz
Avoid compiler warnings about redefined C++ keywords.
Diffstat (limited to 'src/lj_carith.c')
-rw-r--r--src/lj_carith.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_carith.c b/src/lj_carith.c
index e1abf6e6..c5275f70 100644
--- a/src/lj_carith.c
+++ b/src/lj_carith.c
@@ -213,7 +213,7 @@ static int lj_carith_meta(lua_State *L, CTState *cts, CDArith *ca, MMS mm)
if (ca->ct[i])
repr[i] = strdata(lj_ctype_repr(L, ctype_typeid(cts, ca->ct[i]), NULL));
else
- repr[i] = typename(&L->base[i]);
+ repr[i] = lj_typename(&L->base[i]);
}
lj_err_callerv(L, mm == MM_len ? LJ_ERR_FFI_BADLEN :
mm == MM_concat ? LJ_ERR_FFI_BADCONCAT :