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.