[or-cvs] r13706: fix most of pnx's warnings on irix64 (in tor/trunk/src: common or)

arma at seul.org arma at seul.org
Sun Feb 24 23:39:53 UTC 2008


Author: arma
Date: 2008-02-24 18:39:53 -0500 (Sun, 24 Feb 2008)
New Revision: 13706

Modified:
   tor/trunk/src/common/tortls.c
   tor/trunk/src/or/or.h
Log:
fix most of pnx's warnings on irix64


Modified: tor/trunk/src/common/tortls.c
===================================================================
--- tor/trunk/src/common/tortls.c	2008-02-24 23:26:36 UTC (rev 13705)
+++ tor/trunk/src/common/tortls.c	2008-02-24 23:39:53 UTC (rev 13706)
@@ -85,8 +85,8 @@
                                   * 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

Modified: tor/trunk/src/or/or.h
===================================================================
--- tor/trunk/src/or/or.h	2008-02-24 23:26:36 UTC (rev 13705)
+++ tor/trunk/src/or/or.h	2008-02-24 23:39:53 UTC (rev 13706)
@@ -995,14 +995,14 @@
   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.  */



More information about the tor-commits mailing list