Fixed missing integer cast.