Resolve a warning from the bug1666 branch

This commit is contained in:
Nick Mathewson 2011-07-13 12:13:12 -04:00
parent 1aab5b6b39
commit e8bfe89365

View File

@ -2166,7 +2166,8 @@ connection_ap_handshake_process_socks(edge_connection_t *conn)
if (socks->replylen) {
had_reply = 1;
connection_write_to_buf(socks->reply, socks->replylen, TO_CONN(conn));
connection_write_to_buf((const char*)socks->reply, socks->replylen,
TO_CONN(conn));
socks->replylen = 0;
}