summaryrefslogtreecommitdiff
path: root/tests/Gtest-resume-sig.c
diff options
context:
space:
mode:
authorhp.com!davidm <hp.com!davidm>2003-11-27 06:52:54 +0000
committerhp.com!davidm <hp.com!davidm>2003-11-27 06:52:54 +0000
commit722933b6bc92464a55d971a490d39d9c98ff9514 (patch)
tree3656a02f7b5052c857b5f1086cc3dbf12e5547f0 /tests/Gtest-resume-sig.c
parent6c2e6e7f72c2e31360c5728044338d3d6b3f9454 (diff)
downloadlibunwind-722933b6bc92464a55d971a490d39d9c98ff9514.tar.gz
Cast printf() argument to avoid compiler warning.
(Logical change 1.130)
Diffstat (limited to 'tests/Gtest-resume-sig.c')
-rw-r--r--tests/Gtest-resume-sig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Gtest-resume-sig.c b/tests/Gtest-resume-sig.c
index c6bda67a..fb28ac12 100644
--- a/tests/Gtest-resume-sig.c
+++ b/tests/Gtest-resume-sig.c
@@ -86,7 +86,8 @@ handler (int sig)
unw_step(&c); /* step to signaller frame (main ()) */
unw_get_reg(&c, UNW_REG_IP, &ip);
if (verbose)
- printf ("resuming at 0x%lx, with SIGUSR2 pending\n", ip);
+ printf ("resuming at 0x%lx, with SIGUSR2 pending\n",
+ (unsigned long) ip);
unw_resume(&c);
}
else if (sig == SIGUSR2)