diff options
Diffstat (limited to 'lbuffer.c')
-rw-r--r-- | lbuffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) | |||
42 | void luaL_addchar (int c) | 42 | void 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 | ||