From 244646bdf7ed8b9c01e93213337b1ab0547ceb1c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 19 Nov 2014 13:00:42 -0200 Subject: [PATCH] detail (LUAL_BUFFERSIZE has a larger variation among different platforms) --- luaconf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luaconf.h b/luaconf.h index 784f5472..78dde74a 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.226 2014/10/30 18:50:03 roberto Exp roberto $ +** $Id: luaconf.h,v 1.227 2014/11/02 19:35:39 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -710,7 +710,7 @@ @@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system. ** CHANGE it if it uses too much C-stack space. */ -#define LUAL_BUFFERSIZE (0x400 * sizeof(void*)) +#define LUAL_BUFFERSIZE ((int)(0x80 * sizeof(void*) * sizeof(lua_Integer))) /* }================================================================== */