From c804eea39dd91cdbeacba5698adafc0295a949bb Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 23 Oct 2006 05:36:56 +0000 Subject: [PATCH] build on 64-bit again svn:r8801 --- src/or/test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/or/test.c b/src/or/test.c index 5c74195aa4..8ec435b2e2 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -986,9 +986,9 @@ test_smartlist(void) 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);