[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Use intptr_t correctly in test.c; try to resolve ia64 warni...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] Use intptr_t correctly in test.c; try to resolve ia64 warni...
- From: nickm@seul.org (Nick Mathewson)
- Date: Tue,  8 Jun 2004 15:08:47 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Tue, 08 Jun 2004 15:08:52 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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;