From 9bfa7ea550762277c6fb1bc390415219acd6225b Mon Sep 17 00:00:00 2001 From: gnought Date: Mon, 10 Apr 2017 18:31:19 +0800 Subject: bugfix: fixed a -Wsign-compare compiler warning. Signed-off-by: Yichun Zhang (agentzh) --- lua_cjson.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua_cjson.c b/lua_cjson.c index cd17d7a..d04f151 100644 --- a/lua_cjson.c +++ b/lua_cjson.c @@ -490,7 +490,7 @@ static void json_encode_exception(lua_State *l, json_config_t *cfg, strbuf_t *js static void json_append_string(lua_State *l, strbuf_t *json, int lindex) { const char *escstr; - int i; + unsigned i; const char *str; size_t len; -- cgit v1.2.3-55-g6feb