[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Use intptr_t when playing with void*s



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

Modified Files:
	test.c 
Log Message:
Use intptr_t when playing with void*s

Index: test.c
===================================================================
RCS file: /home/or/cvsroot/src/or/test.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- test.c	5 May 2004 20:09:06 -0000	1.89
+++ test.c	5 May 2004 20:27:20 -0000	1.90
@@ -501,7 +501,7 @@
     ++(*ip);
     return NULL;
   }
-  v = (int)val;
+  v = (intptr_t)val;
   return (void*)(v*v);
 }