From 766e67ef3b2af42f800b281e0fa0f57c7e3d2e3f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 28 Dec 1998 11:44:54 -0200 Subject: to avoid warnings about "typecast" (Visual C++) --- lbuffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lbuffer.c') diff --git a/lbuffer.c b/lbuffer.c index 9ec37a73..6bcc9c5a 100644 --- a/lbuffer.c +++ b/lbuffer.c @@ -1,5 +1,5 @@ /* -** $Id: lbuffer.c,v 1.3 1998/06/02 20:37:04 roberto Exp roberto $ +** $Id: lbuffer.c,v 1.4 1998/06/19 16:14:09 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -42,7 +42,7 @@ char *luaL_openspace (int size) void luaL_addchar (int c) { openspace(BUFF_STEP); - L->Mbuffer[L->Mbuffnext++] = c; + L->Mbuffer[L->Mbuffnext++] = (char)c; } -- cgit v1.2.3-55-g6feb