diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-12-28 11:44:54 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-12-28 11:44:54 -0200 |
| commit | 766e67ef3b2af42f800b281e0fa0f57c7e3d2e3f (patch) | |
| tree | 96fbaa15baec33d4f14b27df79778e766ef46f57 /lbuffer.c | |
| parent | 4c94d8cc2cbeac74ae3618b1322c3f3d3ec166ea (diff) | |
| download | lua-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.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 | ||
