From f9482a1b72c33becfdb0106bf06a1a66f29dd006 Mon Sep 17 00:00:00 2001 From: Chris Cacciatore Date: Tue, 9 Aug 2016 12:46:51 -0700 Subject: [PATCH] Fixed test negation. (#329) Fixed test negation. --- src/cc65/typeconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc65/typeconv.c b/src/cc65/typeconv.c index 78f43a50c..47ab993c1 100644 --- a/src/cc65/typeconv.c +++ b/src/cc65/typeconv.c @@ -237,7 +237,7 @@ void TypeConversion (ExprDesc* Expr, Type* NewType) switch (TypeCmp (NewType, Expr->Type)) { case TC_INCOMPATIBLE: - Error ("Incompatible pointer types at '%s'", (!Expr->Sym? Expr->Sym->Name : "Unknown")); + Error ("Incompatible pointer types at '%s'", (Expr->Sym? Expr->Sym->Name : "Unknown")); break; case TC_QUAL_DIFF: -- 2.39.5