mirror of
https://github.com/cc65/cc65.git
synced 2025-02-02 15:37:58 +00:00
Fixed Issue #327.
This commit is contained in:
parent
0536f4f9bd
commit
0486d28abc
@ -124,7 +124,7 @@ static void DoConversion (ExprDesc* Expr, const Type* NewType)
|
||||
LoadExpr (CF_NONE, Expr);
|
||||
|
||||
/* Emit typecast code */
|
||||
g_typecast (TypeOf (NewType), TypeOf (OldType) | CF_FORCECHAR);
|
||||
g_typecast (TypeOf (NewType), TypeOf (OldType));
|
||||
|
||||
/* Value is now in primary and an rvalue */
|
||||
ED_FinalizeRValLoad (Expr);
|
||||
@ -175,7 +175,7 @@ static void DoConversion (ExprDesc* Expr, const Type* NewType)
|
||||
LoadExpr (CF_NONE, Expr);
|
||||
|
||||
/* Emit typecast code. */
|
||||
g_typecast (TypeOf (NewType), TypeOf (OldType) | CF_FORCECHAR);
|
||||
g_typecast (TypeOf (NewType), TypeOf (OldType));
|
||||
|
||||
/* Value is now an rvalue in the primary */
|
||||
ED_FinalizeRValLoad (Expr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user