Fix compiler warnings on some BSD variants.
This commit is contained in:
parent
3847b78ba5
commit
d298ebe91c
2 changed files with 11 additions and 3 deletions
|
|
@ -201,7 +201,7 @@ bool receive_meta(connection_t *c) {
|
|||
logger(DEBUG_CONNECTIONS, LOG_ERR, "Invalid response from proxy server");
|
||||
return false;
|
||||
}
|
||||
if(tcpbuffer[1] == 0xff) {
|
||||
if(tcpbuffer[1] == (char)0xff) {
|
||||
logger(DEBUG_CONNECTIONS, LOG_ERR, "Proxy request rejected: unsuitable authentication method");
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue