summaryrefslogtreecommitdiff
path: root/tests/Gtest-concurrent.c
diff options
context:
space:
mode:
authorhp.com!davidm <hp.com!davidm>2003-11-24 21:37:22 +0000
committerhp.com!davidm <hp.com!davidm>2003-11-24 21:37:22 +0000
commit94f198b28835ff21668abb53bf146cabf209fbb7 (patch)
tree2cbc5ecf3c2e19b2b5795442a7c5e4022a0b27fc /tests/Gtest-concurrent.c
parent64fa4c080a725ad1616e27e43babc9d6c97b40e7 (diff)
downloadlibunwind-94f198b28835ff21668abb53bf146cabf209fbb7.tar.gz
(handler): Adjust printf format to avoid compiler warning.
(Logical change 1.123)
Diffstat (limited to 'tests/Gtest-concurrent.c')
-rw-r--r--tests/Gtest-concurrent.c2
1 files changed, 1 insertions, 1 deletions
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);