diff options
author | Roger Dingledine <arma@torproject.org> | 2008-02-24 23:39:53 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-02-24 23:39:53 +0000 |
commit | e7f3d6f76cd36f2c337d18b04f1dd2e5bae58d34 (patch) | |
tree | 043bb6219507d4c88724ba40673007ad9b16e2b6 | |
parent | 3452486ac65af88cf524cb93041a2a173335da27 (diff) | |
download | tor-e7f3d6f76cd36f2c337d18b04f1dd2e5bae58d34.tar.gz tor-e7f3d6f76cd36f2c337d18b04f1dd2e5bae58d34.zip |
fix most of pnx's warnings on irix64
svn:r13706
-rw-r--r-- | src/common/tortls.c | 4 | ||||
-rw-r--r-- | src/or/or.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index c57daebf78..21108820d6 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -85,8 +85,8 @@ struct tor_tls_t { * of the connection protocol (client sends * different cipher list, server sends only * one certificate). */ - int got_renegotiate:1; /**< True iff we should call negotiated_callback - * when we're done reading. */ + /** True iff we should call negotiated_callback when we're done reading. */ + unsigned int got_renegotiate:1; size_t wantwrite_n; /**< 0 normally, >0 if we returned wantwrite last * time. */ /** Last values retrieved from BIO_number_read()/write(); see diff --git a/src/or/or.h b/src/or/or.h index b00b4dd9c7..4f30f58203 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -995,14 +995,14 @@ typedef struct edge_connection_t { uint8_t num_socks_retries; /** True iff this connection is for a dns request only. */ - unsigned int is_dns_request : 1; + unsigned int is_dns_request:1; /** True iff this stream must attach to a one-hop circuit (e.g. for * begin_dir). */ - int want_onehop:1; + unsigned int want_onehop:1; /** True iff this stream should use a BEGIN_DIR relay command to establish * itself rather than BEGIN (either via onehop or via a whole circuit). */ - int use_begindir:1; + unsigned int use_begindir:1; /** If this is a DNSPort connection, this field holds the pending DNS * request that we're going to try to answer. */ |