Skip to content

Commit

Permalink
Merge pull request #3768 from yebblies/paintAsTypeddmd
Browse files Browse the repository at this point in the history
[DDMD] Make narrowing cast explicit
  • Loading branch information
9rnsr committed Jul 16, 2014
1 parent aa82feb commit 6c71d58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/target.c
Expand Up @@ -220,12 +220,12 @@ Expression *Target::paintAsType(Expression *e, Type *type)
{
case Tint32:
case Tuns32:
u.int32value = e->toInteger();
u.int32value = (d_int32)e->toInteger();
break;

case Tint64:
case Tuns64:
u.int64value = e->toInteger();
u.int64value = (d_int64)e->toInteger();
break;

case Tfloat32:
Expand Down

0 comments on commit 6c71d58

Please sign in to comment.