[or-cvs] Use intptr_t when playing with void*s
Nick Mathewson
nickm at seul.org
Wed May 5 20:27:23 UTC 2004
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);
}
More information about the tor-commits
mailing list