Avoid compiler warnings about redefined C++ keywords.

This commit is contained in:
Mike Pall
2012-07-09 16:02:05 +02:00
parent 6e4d0fdc8e
commit f20ff8a30d
6 changed files with 10 additions and 10 deletions

View File

@@ -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);
}