diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-31 11:25:18 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-31 11:25:18 -0300 |
commit | 90de38bf1f85714526c30e42b670ca997ec45827 (patch) | |
tree | c9dbf61d741ddd2ededcba4c1a4da99211c28f7a /lauxlib.c | |
parent | e8a7ecb982effdfc1148098b288c6ac7130f756e (diff) | |
download | lua-90de38bf1f85714526c30e42b670ca997ec45827.tar.gz lua-90de38bf1f85714526c30e42b670ca997ec45827.tar.bz2 lua-90de38bf1f85714526c30e42b670ca997ec45827.zip |
warnings in VS .Net
Diffstat (limited to 'lauxlib.c')
-rw-r--r-- | lauxlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { | |||
338 | LUALIB_API const char *luaL_gsub (lua_State *L, const char *s, const char *p, | 338 | LUALIB_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) { |