Fix compiler warnings on some BSD variants.

This commit is contained in:
Guus Sliepen 2013-02-20 15:35:08 +01:00
parent 3847b78ba5
commit d298ebe91c
2 changed files with 11 additions and 3 deletions

View file

@ -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;
}