Cast NSUInteger format argument

@blakewatters sanity check on the cast and format argument?