Corrected casted types
Merge pull request #16 from maltewi/rock1408

Corrected casted types