diff --git a/tests/Gtest-concurrent.c b/tests/Gtest-concurrent.c index 0a8b54d9..3378decd 100644 --- a/tests/Gtest-concurrent.c +++ b/tests/Gtest-concurrent.c @@ -58,7 +58,7 @@ handler (int sig) { unw_get_reg(&c, UNW_REG_IP, &ip); if (verbose) - printf ("%p: IP=%lx\n", pthread_self (), (unsigned long) ip); + printf ("%lx: IP=%lx\n", (long) pthread_self (), (unsigned long) ip); } while ((ret = unw_step(&c)) > 0);