Fix Xcode compiler warning: Implicit conversion loses integer precision:...

... 'NSUInteger' (aka 'unsigned long') to 'int'