diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-05-05 20:27:20 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-05-05 20:27:20 +0000 |
commit | 6cfdc90d926b149cefba59c27eac6a966ba31877 (patch) | |
tree | 5491f51130e90acb3396a557f41772c122ee738e | |
parent | 8aebd83a0eb3e6cb312ccbf8e0cbd9b3b48294be (diff) | |
download | tor-6cfdc90d926b149cefba59c27eac6a966ba31877.tar tor-6cfdc90d926b149cefba59c27eac6a966ba31877.tar.gz |
Use intptr_t when playing with void*s
svn:r1795
-rw-r--r-- | src/or/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c index 21913af25..2e34d2fc4 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); } |