fix crash in refcounting plugin

introduced by commit c15b4cf39a
"Adapt to current Clang trunk towards 3.7"

Change-Id: I00f58d3bc79e641df9bba4e9b1d5c8463b87dc42
This commit is contained in:
Noel Grandin
2015-08-04 10:25:48 +02:00
parent 875e1b50a0
commit 3d5dc80b07
5 changed files with 6 additions and 5 deletions

View File

@@ -90,7 +90,7 @@ bool isDerivedFrom(const CXXRecordDecl *decl, const char *pString) {
{ return BaseCheckNotSubclass(
BaseDefinition, const_cast<char *>(pString)); },
#endif
true))
static_cast<void*>(const_cast<char*>(pString)), true))
{
return true;
}