Clean up compiler warnings with some explicit casts and removing dead stores
Merge pull request #3 from hughescr/master

Clean up compiler warnings with some explicit casts and removing dead stores