aboutsummaryrefslogtreecommitdiff
path: root/lbuffer.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-12-28 11:44:54 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-12-28 11:44:54 -0200
commit766e67ef3b2af42f800b281e0fa0f57c7e3d2e3f (patch)
tree96fbaa15baec33d4f14b27df79778e766ef46f57 /lbuffer.c
parent4c94d8cc2cbeac74ae3618b1322c3f3d3ec166ea (diff)
downloadlua-766e67ef3b2af42f800b281e0fa0f57c7e3d2e3f.tar.gz
lua-766e67ef3b2af42f800b281e0fa0f57c7e3d2e3f.tar.bz2
lua-766e67ef3b2af42f800b281e0fa0f57c7e3d2e3f.zip
to avoid warnings about "typecast" (Visual C++)
Diffstat (limited to 'lbuffer.c')
-rw-r--r--lbuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbuffer.c b/lbuffer.c
index 9ec37a73..6bcc9c5a 100644
--- a/lbuffer.c
+++ b/lbuffer.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbuffer.c,v 1.3 1998/06/02 20:37:04 roberto Exp roberto $ 2** $Id: lbuffer.c,v 1.4 1998/06/19 16:14:09 roberto Exp roberto $
3** Auxiliary functions for building Lua libraries 3** Auxiliary functions for building Lua libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -42,7 +42,7 @@ char *luaL_openspace (int size)
42void luaL_addchar (int c) 42void luaL_addchar (int c)
43{ 43{
44 openspace(BUFF_STEP); 44 openspace(BUFF_STEP);
45 L->Mbuffer[L->Mbuffnext++] = c; 45 L->Mbuffer[L->Mbuffnext++] = (char)c;
46} 46}
47 47
48 48