What's the quickest way to compare a NSUInteger with an int (e.g. 5) in objective-c?
Background - I'm noting that the following line of code gives an error:
STAssertEquals([nsMutableArrayInstance count], 5, @"xxxx");
// gives Type Mismatch
So what I'm asking effectively is how to correct this to fix the error...
STAssertEquals([nsMutableArrayInstance count], (NSUInteger)5, @"xxxx")
. – Meyerhof