]> git.sur5r.net Git - cc65/commitdiff
Fixed test negation. (#329)
authorChris Cacciatore <chris.cacciatore@gmail.com>
Tue, 9 Aug 2016 19:46:51 +0000 (12:46 -0700)
committergreg-king5 <gregdk@users.sf.net>
Tue, 9 Aug 2016 19:46:51 +0000 (15:46 -0400)
Fixed test negation.

src/cc65/typeconv.c

index 78f43a50c5ed09a71c99dd18c572aa66ed242262..47ab993c1da764317f1c287752b39859e97389f9 100644 (file)
@@ -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: