From 39b79783297bee79db9853b63d199e120a009a8f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 23 Feb 2001 14:17:25 -0300 Subject: first (big) step to support wide chars --- lmem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lmem.c') diff --git a/lmem.c b/lmem.c index cfbe74d5..f88e769e 100644 --- a/lmem.c +++ b/lmem.c @@ -1,5 +1,5 @@ /* -** $Id: lmem.c,v 1.46 2001/02/06 16:01:29 roberto Exp roberto $ +** $Id: lmem.c,v 1.47 2001/02/20 18:15:33 roberto Exp roberto $ ** Interface to Memory Manager ** See Copyright Notice in lua.h */ @@ -23,7 +23,7 @@ void *luaM_growaux (lua_State *L, void *block, int *size, int size_elems, - int limit, const char *errormsg) { + int limit, const l_char *errormsg) { void *newblock; int newsize = (*size)*2; if (newsize < MINPOWER2) @@ -49,7 +49,7 @@ void *luaM_realloc (lua_State *L, void *block, lu_mem oldsize, lu_mem size) { block = NULL; } else if (size >= MAX_SIZET) - luaD_error(L, "memory allocation error: block too big"); + luaD_error(L, l_s("memory allocation error: block too big")); else { block = l_realloc(block, oldsize, size); if (block == NULL) { -- cgit v1.2.3-55-g6feb