res_http_websocket.c:301:40: warning: implicit conversion from 'int' to 'char' changes value from 136 to -120 [-Wconstant-conversion] frame[0] = AST_WEBSOCKET_OPCODE_CLOSE | 0x80; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ --- res/res_http_websocket.c (Asterisk 15.2) +++ res/res_http_websocket.c (working copy) @@ -294 +294 @@ int AST_OPTIONAL_API_NAME(ast_websocket_ - char frame[4] = { 0, }; /* The header is 2 bytes and the reason code takes up another 2 bytes */ + unsigned char frame[4] = { 0, }; /* The header is 2 bytes and the reason code takes up another 2 bytes */