mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
Fixed LimitExprValue() for 64-bit long env.
This commit is contained in:
parent
14988f5dda
commit
2bda128ef1
@ -216,8 +216,11 @@ void LimitExprValue (ExprDesc* Expr)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case T_LONG:
|
case T_LONG:
|
||||||
|
Expr->IVal = (int32_t)Expr->IVal;
|
||||||
|
break;
|
||||||
|
|
||||||
case T_ULONG:
|
case T_ULONG:
|
||||||
/* No need to do anything */
|
Expr->IVal = (uint32_t)Expr->IVal;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case T_SCHAR:
|
case T_SCHAR:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user