diff --git a/src/cc65/declare.c b/src/cc65/declare.c index 5827eb6dc..2a21e5a76 100644 --- a/src/cc65/declare.c +++ b/src/cc65/declare.c @@ -1780,7 +1780,7 @@ static void DefineData (ExprDesc* Expr) case E_LOC_ABS: /* Absolute numeric address */ - g_defdata (CF_ABSOLUTE | TypeOf(Expr->Type) | CF_CONST, Expr->IVal, 0); + g_defdata (CF_ABSOLUTE | TypeOf (Expr->Type) | CF_CONST, Expr->IVal, 0); break; case E_LOC_GLOBAL: diff --git a/src/cc65/expr.c b/src/cc65/expr.c index 79650109f..f6aa5aad6 100644 --- a/src/cc65/expr.c +++ b/src/cc65/expr.c @@ -1029,7 +1029,6 @@ static void ArrayRef (ExprDesc* Expr) /* Adjust the offset */ Expr->IVal += Subscript.IVal; - } else { /* Scale the rhs value according to the element type */