Merge pull request #13 from maltewi/rock1408

Casting of numeric types in base::Time::toTimeval()
Corrected casted types