string pointers are always fully aligned

This commit is contained in:
Roberto Ierusalimschy
2001-02-09 18:22:29 -02:00
parent 6875fdc8be
commit d2e340f467
11 changed files with 47 additions and 51 deletions

4
ltm.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: ltm.c,v 1.64 2001/01/26 11:45:51 roberto Exp roberto $
** $Id: ltm.c,v 1.65 2001/02/02 15:13:05 roberto Exp roberto $
** Tag methods
** See Copyright Notice in lua.h
*/
@@ -150,7 +150,7 @@ const char *luaT_typename (global_State *G, const TObject *o) {
ts = G->TMtable[tag].name;
if (ts == NULL)
ts = G->TMtable[t].name;
return ts->str;
return getstr(ts);
}