diff options
author | Roger Dingledine <arma@torproject.org> | 2004-10-12 19:09:40 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-10-12 19:09:40 +0000 |
commit | 1c757b917dc0b92cfa62de60457365a9789801c1 (patch) | |
tree | 62bb2c13882f2e180d27dbcc18c7a93b9cb0c137 /src/common | |
parent | e7241044e8f582a61c63d462fbbd1e3b593505ce (diff) | |
download | tor-1c757b917dc0b92cfa62de60457365a9789801c1.tar.gz tor-1c757b917dc0b92cfa62de60457365a9789801c1.zip |
fix signed/unsigned comparison, plus typo
svn:r2451
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/crypto.c | 2 | ||||
-rw-r--r-- | src/common/fakepoll.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 1692aac23a..dfed70850c 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -1189,7 +1189,7 @@ static void init_dh_param() { dh_param_g = g; } -/** Allocate and return a new DH object for a key echange. +/** Allocate and return a new DH object for a key exchange. */ crypto_dh_env_t *crypto_dh_new() { diff --git a/src/common/fakepoll.c b/src/common/fakepoll.c index f23c20e652..52359fb27c 100644 --- a/src/common/fakepoll.c +++ b/src/common/fakepoll.c @@ -42,7 +42,7 @@ int tor_poll(struct pollfd *ufds, unsigned int nfds, int timeout) { - int i; + unsigned int i; for (i=0;i<nfds;++i) { tor_assert(ufds[i].fd >= 0); } |