]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Use intptr_t correctly in test.c; try to resolve ia64 warnings
authorNick Mathewson <nickm@torproject.org>
Tue, 8 Jun 2004 19:08:45 +0000 (19:08 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 8 Jun 2004 19:08:45 +0000 (19:08 +0000)
svn:r1963

src/or/test.c

index 70b0b5554d6e018ed6a8403fc1418c9d5af9b942..caf081476204b937d508c102787ec76d8095c313 100644 (file)
@@ -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;