From ae452d5320697cee9f0bc302f0c62ca28af3c78a Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 22 Oct 2011 09:42:05 +0000 Subject: [PATCH] Fix a compiler warning introduced in r12188 git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12192 --- coregrind/m_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ); -- 2.47.2