浏览代码

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;