aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-31 11:25:18 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-31 11:25:18 -0300
commit90de38bf1f85714526c30e42b670ca997ec45827 (patch)
treec9dbf61d741ddd2ededcba4c1a4da99211c28f7a /lauxlib.c
parente8a7ecb982effdfc1148098b288c6ac7130f756e (diff)
downloadlua-90de38bf1f85714526c30e42b670ca997ec45827.tar.gz
lua-90de38bf1f85714526c30e42b670ca997ec45827.tar.bz2
lua-90de38bf1f85714526c30e42b670ca997ec45827.zip
warnings in VS .Net
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lauxlib.c b/lauxlib.c
index b8205191..dae9dcc7 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.c,v 1.133 2005/05/17 19:49:15 roberto Exp roberto $ 2** $Id: lauxlib.c,v 1.134 2005/05/25 13:21:26 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*/
@@ -338,7 +338,7 @@ static const char *pushnexttemplate (lua_State *L, const char *path) {
338LUALIB_API const char *luaL_gsub (lua_State *L, const char *s, const char *p, 338LUALIB_API const char *luaL_gsub (lua_State *L, const char *s, const char *p,
339 const char *r) { 339 const char *r) {
340 const char *wild; 340 const char *wild;
341 int l = strlen(p); 341 size_t l = strlen(p);
342 luaL_Buffer b; 342 luaL_Buffer b;
343 luaL_buffinit(L, &b); 343 luaL_buffinit(L, &b);
344 while ((wild = strstr(s, p)) != NULL) { 344 while ((wild = strstr(s, p)) != NULL) {