소스 검색

Use intptr_t correctly in test.c; try to resolve ia64 warnings

svn:r1963
Nick Mathewson 22 년 전
부모
커밋
dbf9fe57ea
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/or/test.c

+ 1 - 1
src/or/test.c

@@ -494,7 +494,7 @@ test_util() {
 static void* _squareAndRemoveK4(const char *key, void*val, void *data)
 {
   int *ip = (int*)data;
-  int v;
+  intptr_t v;
   if (strcmp(key,"K4") == 0) {
     ++(*ip);
     return NULL;