[or-cvs] Use intptr_t correctly in test.c; try to resolve ia64 warni...

Nick Mathewson nickm at seul.org
Tue Jun 8 19:08:47 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv4325/src/or

Modified Files:
	test.c 
Log Message:
Use intptr_t correctly in test.c; try to resolve ia64 warnings

Index: test.c
===================================================================
RCS file: /home/or/cvsroot/src/or/test.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- test.c	1 Jun 2004 18:19:01 -0000	1.93
+++ test.c	8 Jun 2004 19:08:45 -0000	1.94
@@ -494,7 +494,7 @@
 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;



More information about the tor-commits mailing list