aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-01-05 12:49:02 -0500
committerNick Mathewson <nickm@torproject.org>2011-01-05 12:49:02 -0500
commit240fa42aacf8cadbd00b66686320365359d8179a (patch)
treefe04d025d523d7e2e4b6fc80977be0cadb8e64de /src/common/crypto.c
parent0222228d64bf29a3b9db5a80a557e20c3c360224 (diff)
downloadtor-240fa42aacf8cadbd00b66686320365359d8179a.tar
tor-240fa42aacf8cadbd00b66686320365359d8179a.tar.gz
Fix size_t vs unsigned comparison too
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 71cf6d43d..e47fa5602 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -2439,8 +2439,8 @@ base32_decode(char *dest, size_t destlen, const char *src, size_t srclen)
{
/* XXXX we might want to rewrite this along the lines of base64_decode, if
* it ever shows up in the profile. */
- unsigned int i, bit;
- size_t nbits, j;
+ unsigned int i;
+ size_t nbits, j, bit;
char *tmp;
nbits = srclen * 5;