Explorar o código

Fix size_t vs unsigned comparison too

Nick Mathewson %!s(int64=14) %!d(string=hai) anos
pai
achega
240fa42aac
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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
    * 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;