From 722933b6bc92464a55d971a490d39d9c98ff9514 Mon Sep 17 00:00:00 2001 From: "hp.com!davidm" Date: Thu, 27 Nov 2003 06:52:54 +0000 Subject: Cast printf() argument to avoid compiler warning. (Logical change 1.130) --- tests/Gtest-resume-sig.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/Gtest-resume-sig.c') 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) -- cgit v1.2.3