From: Nick Mathewson Date: Wed, 5 Jan 2011 17:49:02 +0000 (-0500) Subject: Fix size_t vs unsigned comparison too X-Git-Tag: tor-0.2.2.21-alpha~7^2~10^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=240fa42aacf8cadbd00b66686320365359d8179a;p=thirdparty%2Ftor.git Fix size_t vs unsigned comparison too --- diff --git a/src/common/crypto.c b/src/common/crypto.c index 71cf6d43d8..e47fa5602c 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;