summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 70b0b5554d..caf0814762 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;