diff options
author | Mike Pall <mike> | 2012-07-09 16:02:05 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-07-09 16:02:05 +0200 |
commit | f20ff8a30dbec50bc20b47702c4c61c08f67bd5b (patch) | |
tree | 24829aa879eeaf94ecaa2d6dfe2bc53357a01562 /src/lib_base.c | |
parent | 6e4d0fdc8e8121fac45d85661c638093fbfd1e3a (diff) | |
download | luajit2-f20ff8a30dbec50bc20b47702c4c61c08f67bd5b.tar.gz |
Avoid compiler warnings about redefined C++ keywords.
Diffstat (limited to 'src/lib_base.c')
-rw-r--r-- | src/lib_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib_base.c b/src/lib_base.c index 7539e92e..383955d4 100644 --- a/src/lib_base.c +++ b/src/lib_base.c @@ -257,7 +257,7 @@ LJLIB_ASM(tostring) LJLIB_REC(.) if (tvisfunc(o) && isffunc(funcV(o))) lua_pushfstring(L, "function: fast#%d", funcV(o)->c.ffid); else - lua_pushfstring(L, "%s: %p", typename(o), lua_topointer(L, 1)); + lua_pushfstring(L, "%s: %p", lj_typename(o), lua_topointer(L, 1)); /* Note: lua_pushfstring calls the GC which may invalidate o. */ s = strV(L->top-1); } |