allending/Kiwi — pull request #81 by dented42 (2011-12-22 01:57:17+00:00)
Title: Fix some type errors that don't manifest on iOS

I've taken a look at porting Kiwi to OS X. The first thing that crops up are some compiler/warnings errors. There are places where an NSInteger is used, but it's being stored into an NSNumber as an int, which isn't a problem on iOS because NSIntegers are ints on 32-bit systems. However building for a 64-bit machine, they are longs. I've switched the NSNumber instances to use the integer methods for loading and storing, eliminating the build errors.

Although these commits wouldn't actually affect performance on iOS, it does add consistency.