Fixed NSUInteger cast warnings