Fixing some build warnings related to the use of int instead of NSInteger.

X-Signed-Off-By: Matt Nunes