Fixed faulty cast
Merge branch 'master' of github.com:Dowers/tsea29