[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r8801: build on 64-bit again (tor/trunk/src/or)
Author: arma
Date: 2006-10-23 01:36:56 -0400 (Mon, 23 Oct 2006)
New Revision: 8801
Modified:
tor/trunk/src/or/test.c
Log:
build on 64-bit again
Modified: tor/trunk/src/or/test.c
===================================================================
--- tor/trunk/src/or/test.c 2006-10-23 05:29:40 UTC (rev 8800)
+++ tor/trunk/src/or/test.c 2006-10-23 05:36:56 UTC (rev 8801)
@@ -986,9 +986,9 @@
smartlist_t *primes = smartlist_create();
int i;
for (i=1; i < 10; i += 2)
- smartlist_add(odds, (void*)i);
+ smartlist_add(odds, (void*)(uintptr_t)i);
for (i=0; i < 10; i += 2)
- smartlist_add(evens, (void*)i);
+ smartlist_add(evens, (void*)(uintptr_t)i);
/* add_all */
smartlist_add_all(ints, odds);