RestKit/RestKit — pull request #897 by jakemaskiewicz (2012-08-21 00:19:05+00:00)
Title: string format and casting changes to remove warnings

On different systems, NS(U)Integer maps to a long or an int, and according to Apple, best practice for string formatting is to cast up to long. ([source](https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Strings/Articles/formatSpecifiers.html#//apple_ref/doc/uid/TP40004265-SW5))

Existing code used %d in several format strings. Changed to %ld or %lu (depending on signed-ness) and casted arguments to long or unsigned long respectively, thus removing warnings on systems where NS(U)Integer maps to a long, and not introducing warnings on systems where it maps to an int.

[Sample of Warnings (that are now removed)](http://cl.ly/image/2x1T0s0e2D46)