Fixed Issue #327.
This commit is contained in:
parent
0536f4f9bd
commit
0486d28abc
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue