From: Andy Green Date: Sat, 9 Apr 2016 01:32:01 +0000 (+0800) Subject: lwsws specifically signed char return lejp X-Git-Tag: upstream/2.0.3~126 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e7b79b263aeb75da87774e5b45880934a66f127;p=platform%2Fupstream%2Flibwebsockets.git lwsws specifically signed char return lejp Signed-off-by: Andy Green --- diff --git a/lwsws/conf.c b/lwsws/conf.c index c720d86..ff4029d 100644 --- a/lwsws/conf.c +++ b/lwsws/conf.c @@ -330,7 +330,7 @@ lwsws_get_config(void *user, const char *f, const char * const *paths, if (!n) break; - m = (int)(char)lejp_parse(&ctx, buf, n); + m = (int)(signed char)lejp_parse(&ctx, buf, n); } while (m == LEJP_CONTINUE); close(fd);