From: Bart Van Assche Date: Sat, 22 Oct 2011 09:42:05 +0000 (+0000) Subject: Fix a compiler warning introduced in r12188 X-Git-Tag: svn/VALGRIND_3_7_0~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae452d5320697cee9f0bc302f0c62ca28af3c78a;p=thirdparty%2Fvalgrind.git Fix a compiler warning introduced in r12188 git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12192 --- diff --git a/coregrind/m_main.c b/coregrind/m_main.c index 916b2e56e9..85c147861e 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -1060,7 +1060,7 @@ static void print_preamble ( Bool logging_to_fd, UInt (*umsg_or_xml)( const HChar*, ... ) = VG_(clo_xml) ? VG_(printf_xml) : VG_(umsg); - UInt (*umsg_or_xml_arg)( const HChar* ) + void (*umsg_or_xml_arg)( const Char* ) = VG_(clo_xml) ? xml_arg : umsg_arg; vg_assert( VG_(args_for_client) );