Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
rainers committed Feb 24, 2012
1 parent 9098b1b commit aec6a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expression.c
Expand Up @@ -5936,7 +5936,7 @@ Expression *BinExp::checkComplexOpAssign(Scope *sc)
if (t1->isreal())
{ // x/iv = i(-x/v)
// Therefore, the result is 0
e2 = new CommaExp(loc, e2, new RealExp(loc, 0, t1));
e2 = new CommaExp(loc, e2, new RealExp(loc, ldouble(0.0), t1));
e2->type = t1;
Expression *e = new AssignExp(loc, e1, e2);
e->type = t1;
Expand Down

0 comments on commit aec6a94

Please sign in to comment.