From ba11831d357889ee090ce92ff508957c6c023c42 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 7 Jun 2001 12:01:21 -0300 Subject: smaller structs for udata and for strings --- lcode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lcode.c') diff --git a/lcode.c b/lcode.c index 8c43084e..29a6bc89 100644 --- a/lcode.c +++ b/lcode.c @@ -1,5 +1,5 @@ /* -** $Id: lcode.c,v 1.69 2001/06/05 18:17:01 roberto Exp roberto $ +** $Id: lcode.c,v 1.70 2001/06/06 18:00:19 roberto Exp roberto $ ** Code generator for Lua ** See Copyright Notice in lua.h */ @@ -231,7 +231,7 @@ int luaK_stringk (FuncState *fs, TString *s) { TObject o; setsvalue(&o, s); c = addk(fs, &o); - s->constindex = c; /* hint for next time */ + s->constindex = (unsigned short)c; /* hint for next time */ } return c; } -- cgit v1.2.3-55-g6feb