aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-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 21913af25a..2e34d2fc44 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -501,7 +501,7 @@ static void* _squareAndRemoveK4(const char *key, void*val, void *data)
++(*ip);
return NULL;
}
- v = (int)val;
+ v = (intptr_t)val;
return (void*)(v*v);
}