diff options
author | gnought <gnought@users.noreply.github.com> | 2017-04-10 18:31:19 +0800 |
---|---|---|
committer | Yichun Zhang (agentzh) <agentzh@gmail.com> | 2017-04-10 11:01:23 -0700 |
commit | 9bfa7ea550762277c6fb1bc390415219acd6225b (patch) | |
tree | cda0de3323c6b630767db957987b726039c8359e | |
parent | 55d22ef3bc5f512a9dadd84fd85895824dad73d9 (diff) | |
download | lua-cjson-9bfa7ea550762277c6fb1bc390415219acd6225b.tar.gz lua-cjson-9bfa7ea550762277c6fb1bc390415219acd6225b.tar.bz2 lua-cjson-9bfa7ea550762277c6fb1bc390415219acd6225b.zip |
bugfix: fixed a -Wsign-compare compiler warning.
Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
-rw-r--r-- | lua_cjson.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
490 | static void json_append_string(lua_State *l, strbuf_t *json, int lindex) | 490 | static void json_append_string(lua_State *l, strbuf_t *json, int lindex) |
491 | { | 491 | { |
492 | const char *escstr; | 492 | const char *escstr; |
493 | int i; | 493 | unsigned i; |
494 | const char *str; | 494 | const char *str; |
495 | size_t len; | 495 | size_t len; |
496 | 496 | ||