Value conversion warning issue resolved.

Typecast added for conversion from NSUInteger to int .