diff options
author | Martin Willi <martin@strongswan.org> | 2009-06-19 10:19:55 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-06-19 10:19:55 +0200 |
commit | 1694e82c7c7524d4bac99b40bbc35f4dae933524 (patch) | |
tree | 230971aabee7e37ee5e18c458cee6947cc9c45e8 /src/charon/plugins/unit_tester/tests | |
parent | aab814c793832b5a102aed5f4149f75433189693 (diff) | |
download | strongswan-1694e82c7c7524d4bac99b40bbc35f4dae933524.tar.bz2 strongswan-1694e82c7c7524d4bac99b40bbc35f4dae933524.tar.xz |
fixed another 64bit compiler warning
Diffstat (limited to 'src/charon/plugins/unit_tester/tests')
-rw-r--r-- | src/charon/plugins/unit_tester/tests/test_pool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charon/plugins/unit_tester/tests/test_pool.c b/src/charon/plugins/unit_tester/tests/test_pool.c index 3c792ef04..ba5330fd9 100644 --- a/src/charon/plugins/unit_tester/tests/test_pool.c +++ b/src/charon/plugins/unit_tester/tests/test_pool.c @@ -34,7 +34,7 @@ static void* testing(void *thread) { char buf[256]; - snprintf(buf, sizeof(buf), "%d-%d@strongswan.org", (int)thread, i); + snprintf(buf, sizeof(buf), "%d-%d@strongswan.org", (uintptr_t)thread, i); id[i] = identification_create_from_string(buf); } @@ -70,7 +70,7 @@ static void* testing(void *thread) ******************************************************************************/ bool test_pool() { - int i; + uintptr_t i; void *res; pthread_t thread[THREADS]; |