|
From: <sv...@va...> - 2014-10-23 14:15:07
|
Author: sewardj
Date: Thu Oct 23 15:14:49 2014
New Revision: 14658
Log:
Add a bit of casting to avoid a compiler warning following recent
const-ification.
Modified:
trunk/coregrind/m_syswrap/syswrap-darwin.c
Modified: trunk/coregrind/m_syswrap/syswrap-darwin.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-darwin.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-darwin.c Thu Oct 23 15:14:49 2014
@@ -2936,7 +2936,7 @@
// Decide whether or not we want to follow along
{ // Make 'child_argv' be a pointer to the child's arg vector
// (skipping the exe name)
- HChar** child_argv = (HChar**)ARG4;
+ const HChar** child_argv = (const HChar**)ARG4;
if (child_argv && child_argv[0] == NULL)
child_argv = NULL;
trace_this_child = VG_(should_we_trace_this_child)( (HChar*)ARG2, child_argv );
|