Removing warnings when building Cocoa in 64-bit

NSInteger is defined as the native integer width, so these changes
remove implicit conversions that were causing precision warnings.
Fixing Xcode 5 warning

Xcode 5 has gotten more pedantic about undeclared selectors, by
default.
Merge pull request #152 from sjml/master

Fixed minor Xcode 5 warnings.