diff options
Diffstat (limited to 'lstrlib.c')
-rw-r--r-- | lstrlib.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstrlib.c,v 1.178 2012/08/14 18:12:34 roberto Exp roberto $ | 2 | ** $Id: lstrlib.c,v 1.179 2013/04/25 13:52:13 roberto Exp roberto $ |
3 | ** Standard library for string operations and pattern-matching | 3 | ** Standard library for string operations and pattern-matching |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -164,9 +164,9 @@ static int str_char (lua_State *L) { | |||
164 | } | 164 | } |
165 | 165 | ||
166 | 166 | ||
167 | static int writer (lua_State *L, const void* b, size_t size, void* B) { | 167 | static int writer (lua_State *L, const void *b, size_t size, void *B) { |
168 | (void)L; | 168 | (void)L; |
169 | luaL_addlstring((luaL_Buffer*) B, (const char *)b, size); | 169 | luaL_addlstring((luaL_Buffer *) B, (const char *)b, size); |
170 | return 0; | 170 | return 0; |
171 | } | 171 | } |
172 | 172 | ||