aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lbaselib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbaselib.c b/lbaselib.c
index 4650b4b3..1e80c42a 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.101 2002/10/25 20:05:28 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.102 2002/10/25 21:31:28 roberto Exp roberto $
3** Basic library 3** Basic library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -273,7 +273,7 @@ static int luaB_loadstring (lua_State *L) {
273 273
274static int writer (lua_State *L, const void* b, size_t size, void* B) { 274static int writer (lua_State *L, const void* b, size_t size, void* B) {
275 (void)L; 275 (void)L;
276 luaL_addlstring((luaL_Buffer*) B, b, size); 276 luaL_addlstring((luaL_Buffer*) B, (const char *)b, size);
277 return 1; 277 return 1;
278} 278}
279 279