diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-07-13 12:13:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-07-13 12:13:12 -0400 |
commit | e8bfe89365e86dc9ed311431d3cc87af88132f34 (patch) | |
tree | c0c7022c2a126041c508878ef42b9eeb76693fa4 /src/or | |
parent | 1aab5b6b391ca179d9acded9465ee4941ec4700b (diff) | |
download | tor-e8bfe89365e86dc9ed311431d3cc87af88132f34.tar.gz tor-e8bfe89365e86dc9ed311431d3cc87af88132f34.zip |
Resolve a warning from the bug1666 branch
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/connection_edge.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index c19e8b74d6..a4a77af929 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -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; } |