소스 검색

Fix size_t vs unsigned comparison too

Nick Mathewson 14 년 전
부모
커밋
240fa42aac
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;