Added explicit type casts to avoid warnings when building for 64 bit iOS.
Merge pull request #35 from inghamn/master

Added explicit type casts to avoid warnings when building for 64 bit iOS...