commit | 2cd30747460bdf48eb72571efb3d7f751ab59d2e | [log] [tgz] |
---|---|---|
author | Andy Green <andy.green@linaro.org> | Mon Nov 02 13:10:33 2015 +0800 |
committer | Andy Green <andy.green@linaro.org> | Sat Nov 14 16:31:01 2015 +0800 |
tree | 4dd7963e95e8a5dc67cc43712038863b51ab8aec | |
parent | 3b19386b103347823ef3b30fa7bc9ef2cb36cab9 [diff] [blame] |
mbed3 warning cleaning Signed-off-by: Andy Green <andy.green@linaro.org>
diff --git a/lib/parsers.c b/lib/parsers.c index b660b38..2330a2a 100644 --- a/lib/parsers.c +++ b/lib/parsers.c
@@ -210,7 +210,7 @@ WSI_TOKEN_PATCH_URI, WSI_TOKEN_DELETE_URI, }; - int n, m; + unsigned int n, m; switch (wsi->u.hdr.parser_state) { default: @@ -387,7 +387,7 @@ } n = issue_char(wsi, c); - if (n < 0) + if ((int)n < 0) return -1; if (n > 0) wsi->u.hdr.parser_state = WSI_TOKEN_SKIPPING;