[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Appease another 64-bit warning
Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv9012/src/or
Modified Files:
main.c
Log Message:
Appease another 64-bit warning
Index: main.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.427
retrieving revision 1.428
diff -u -d -r1.427 -r1.428
--- main.c 20 Jan 2005 20:16:48 -0000 1.427
+++ main.c 20 Jan 2005 20:21:34 -0000 1.428
@@ -1200,7 +1200,7 @@
if (is_parent) {
for (i = 0; signals[i] >= 0; ++i) {
signal_set(&signal_events[i], signals[i], signal_callback,
- (void*)signals[i]);
+ (void*)(uintptr_t)signals[i]);
signal_add(&signal_events[i], NULL);
}
} else {