Fixed a minor Xcode notice

Added a explicit NSUInteger typecast to unsigned long as suggested by
Travis CI build https://travis-ci.org/CocoaPods/Specs/builds/10290091