From: Chris Cacciatore Date: Tue, 9 Aug 2016 19:46:51 +0000 (-0700) Subject: Fixed test negation. (#329) X-Git-Tag: V2.16~84 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f9482a1b72c33becfdb0106bf06a1a66f29dd006;p=cc65 Fixed test negation. (#329) Fixed test negation. --- 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: