From 51b9ae56dd57745e983abce6e860ee462ef38840 Mon Sep 17 00:00:00 2001 From: Chris Richardson Date: Thu, 10 May 2018 16:08:08 +0100 Subject: [PATCH] QPID-8188 Invalid type qualifiers causes build failure on GCC 8 --- src/qpid/log/Statement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qpid/log/Statement.cpp b/src/qpid/log/Statement.cpp index 86b069fd9..d6540c476 100644 --- a/src/qpid/log/Statement.cpp +++ b/src/qpid/log/Statement.cpp @@ -118,7 +118,7 @@ Category CategoryFileNameHints::categoryOf(const char* const fName) { it = filenameHints.hintList.begin(); it != filenameHints.hintList.end(); ++it) { - if (strstr(fName, (const char* const)it->first) != 0) { + if (strstr(fName, it->first) != 0) { return it->second; } }