aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-06-08 19:08:45 +0000
committerNick Mathewson <nickm@torproject.org>2004-06-08 19:08:45 +0000
commitdbf9fe57eaeaa37b7507fcf8813b9ce7cfb7db19 (patch)
treedfe64787e683aea28779abb6c7170d15c7479284 /src/or/test.c
parent5577333db7404ad8a88380fb0919473e0a89cbe9 (diff)
downloadtor-dbf9fe57eaeaa37b7507fcf8813b9ce7cfb7db19.tar
tor-dbf9fe57eaeaa37b7507fcf8813b9ce7cfb7db19.tar.gz
Use intptr_t correctly in test.c; try to resolve ia64 warnings
svn:r1963
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 70b0b5554..caf081476 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -494,7 +494,7 @@ test_util() {
static void* _squareAndRemoveK4(const char *key, void*val, void *data)
{
int *ip = (int*)data;
- int v;
+ intptr_t v;
if (strcmp(key,"K4") == 0) {
++(*ip);
return NULL;