1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

tokenizer: use signed char where needed

This commit is contained in:
Andy Green 2018-10-26 13:48:31 +08:00
parent b45f224b2a
commit dbbcf43c18

View file

@ -3027,7 +3027,8 @@ lws_tokenize(struct lws_tokenize *ts)
{
const char *rfc7230_delims = "(),/:;<=>?@[\\]{}";
lws_tokenize_state state = LWS_TOKZS_LEADING_WHITESPACE;
char c, num = -1, flo = 0;
char c, flo = 0;
signed char num = -1;
int utf8 = 0;
ts->token = NULL;