From 90de38bf1f85714526c30e42b670ca997ec45827 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 31 May 2005 11:25:18 -0300 Subject: warnings in VS .Net --- lauxlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lauxlib.c') diff --git a/lauxlib.c b/lauxlib.c index b8205191..dae9dcc7 100644 --- a/lauxlib.c +++ b/lauxlib.c @@ -1,5 +1,5 @@ /* -** $Id: lauxlib.c,v 1.133 2005/05/17 19:49:15 roberto Exp roberto $ +** $Id: lauxlib.c,v 1.134 2005/05/25 13:21:26 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -338,7 +338,7 @@ static const char *pushnexttemplate (lua_State *L, const char *path) { LUALIB_API const char *luaL_gsub (lua_State *L, const char *s, const char *p, const char *r) { const char *wild; - int l = strlen(p); + size_t l = strlen(p); luaL_Buffer b; luaL_buffinit(L, &b); while ((wild = strstr(s, p)) != NULL) { -- cgit v1.2.3-55-g6feb