mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
unsigned char by default compiler compatibility
http://ml.libwebsockets.org/pipermail/libwebsockets/2015-March/001705.html Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
87fb73cc65
commit
2a5774edca
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ int lws_hdr_simple_create(struct libwebsocket *wsi,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char char_to_hex(const char c)
|
static signed char char_to_hex(const char c)
|
||||||
{
|
{
|
||||||
if (c >= '0' && c <= '9')
|
if (c >= '0' && c <= '9')
|
||||||
return c - '0';
|
return c - '0';
|
||||||
|
|
Loading…
Add table
Reference in a new issue