Browse Source

build on 64-bit again

svn:r8801
Roger Dingledine 17 years ago
parent
commit
c804eea39d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/or/test.c

+ 2 - 2
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);