Remove redundant type casts.
Merge pull request #26 from eveoh/redundant-type-casts

Remove redundant type casts