fix Warning

Implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int'
Merge pull request #9 from taka0125/FixWarningIn64bit

fix Warning