diff options
author | Roger Dingledine <arma@torproject.org> | 2006-10-23 05:36:56 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-10-23 05:36:56 +0000 |
commit | c804eea39dd91cdbeacba5698adafc0295a949bb (patch) | |
tree | 2e6648d0bf2997d8a12d869a7e20e7328d650150 /src/or/test.c | |
parent | d48828dbe1c560b5462092cdc1b1f34509e0dd04 (diff) | |
download | tor-c804eea39dd91cdbeacba5698adafc0295a949bb.tar.gz tor-c804eea39dd91cdbeacba5698adafc0295a949bb.zip |
build on 64-bit again
svn:r8801
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 4 |
1 files 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); |