|
From: <sv...@va...> - 2011-10-20 10:46:21
|
Author: sewardj
Date: 2011-10-20 11:41:37 +0100 (Thu, 20 Oct 2011)
New Revision: 12174
Log:
Fix a compile warning on {ppc32,ppc64}-linux.
Modified:
trunk/coregrind/m_debuginfo/d3basics.c
Modified: trunk/coregrind/m_debuginfo/d3basics.c
===================================================================
--- trunk/coregrind/m_debuginfo/d3basics.c 2011-10-20 08:09:39 UTC (rev 12173)
+++ trunk/coregrind/m_debuginfo/d3basics.c 2011-10-20 10:41:37 UTC (rev 12174)
@@ -853,7 +853,7 @@
"DW_OP_call_frame_cfa but no reg info");
#if defined(VGP_ppc32_linux) || defined(VGP_ppc64_linux)
/* Valgrind on ppc32/ppc64 currently doesn't use unwind info. */
- uw1 = ML_(read_Addr)(regs->sp);
+ uw1 = ML_(read_Addr)((UChar*)regs->sp);
#else
uw1 = ML_(get_CFA)(regs->ip, regs->sp, regs->fp, 0, ~(UWord) 0);
#endif
|