Integer is a long in modern versions of iOS, the compiler produces a warning when treating it as an int.

Casting it as a long both allows correct compiliation across platforms.

http://stackoverflow.com/questions/16075559/why-does-an-nsinteger-variable-have-to-typecasted-to-type-long
Merge pull request #6 from kevinj04/fix64bitCompilationWarning

Integer is a long in modern versions of iOS, the compiler produces a war...