From 512f8d8b6077c33c53fe00c77837aa3f7d93ab49 Mon Sep 17 00:00:00 2001 From: Jean-Luc Duprat Date: Thu, 29 Mar 2012 17:03:22 -0700 Subject: [PATCH] Fixed binary AND to logical AND --- decl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decl.cpp b/decl.cpp index f4382c8b..f3eb701e 100644 --- a/decl.cpp +++ b/decl.cpp @@ -578,7 +578,7 @@ Declarator::GetType(DeclSpecs *ds) const { const Type *type = GetType(baseType, ds); if (ds->declSpecList.size() > 0 && - type != NULL & + type != NULL && dynamic_cast(type) == NULL) { Error(pos, "__declspec specifiers for non-function type \"%s\" are " "not used.", type->GetString().c_str());