Browse Source

Fix size_t vs unsigned comparison too

Nick Mathewson 14 years ago
parent
commit
240fa42aac
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/common/crypto.c

+ 2 - 2
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
   /* XXXX we might want to rewrite this along the lines of base64_decode, if
    * it ever shows up in the profile. */
    * 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;
   char *tmp;
   nbits = srclen * 5;
   nbits = srclen * 5;