|
From: <sv...@va...> - 2016-01-17 20:35:01
|
Author: florian
Date: Sun Jan 17 20:34:53 2016
New Revision: 15763
Log:
Followup to r15762. Add missing type in cast expression.
Do not use C++ comments. They are not allowed in this file.
Modified:
trunk/include/valgrind.h
Modified: trunk/include/valgrind.h
==============================================================================
--- trunk/include/valgrind.h (original)
+++ trunk/include/valgrind.h Sun Jan 17 20:34:53 2016
@@ -6759,7 +6759,7 @@
VALGRIND_PRINTF(const char *format, ...)
{
#if defined(NVALGRIND)
- if (format) *(volatile const *)format; // avoid compiler warning
+ if (format) *(volatile const char *)format; /* avoid compiler warning */
return 0;
#else /* NVALGRIND */
#if defined(_MSC_VER) || defined(__MINGW64__)
@@ -6798,7 +6798,7 @@
VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
{
#if defined(NVALGRIND)
- if (format) *(volatile const *)format; // avoid compiler warning
+ if (format) *(volatile const char *)format; /* avoid compiler warning */
return 0;
#else /* NVALGRIND */
#if defined(_MSC_VER) || defined(__MINGW64__)
|