summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-05-07 05:55:06 +0000
committerNick Mathewson <nickm@torproject.org>2005-05-07 05:55:06 +0000
commit10b2208d9386972b76f10c2557562b5912dd130e (patch)
tree007a393aff385b1cbe47ffdc4d377edb5dac9898 /src/or/connection_edge.c
parent6567ec9ccf108ac2b51da77fff5e00b722640765 (diff)
downloadtor-10b2208d9386972b76f10c2557562b5912dd130e.tar.gz
tor-10b2208d9386972b76f10c2557562b5912dd130e.zip
Make Tor compile with no warnings with gcc4.0 on OSX
svn:r4184
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index bb2bb02e2e..451584cd3e 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -258,7 +258,7 @@ int connection_edge_finished_flushing(connection_t *conn) {
* any pending data that may have been received. */
int connection_edge_finished_connecting(connection_t *conn)
{
- unsigned char connected_payload[4];
+ char connected_payload[4];
tor_assert(conn);
tor_assert(conn->type == CONN_TYPE_EXIT);
@@ -1474,7 +1474,7 @@ int connection_exit_begin_resolve(cell_t *cell, circuit_t *circ) {
*/
void
connection_exit_connect(connection_t *conn) {
- unsigned char connected_payload[4];
+ char connected_payload[4];
uint32_t addr;
uint16_t port;