Explicit type casts in mix
Merge pull request #5 from dominichamon/mix_types

Explicit type casts in mix