See this code snippet
int main() { unsigned int a = 1000; int b = -1; if (a>b) printf(\"A is BIG! %d\\n\", a-b); else printf(\"a is SMALL! %d\\n\", a
Find a easy way to compare, maybe useful when you can not get rid of unsigned declaration, (for example, [NSArray count]), just force the "unsigned int" to an "int".
Please correct me if I am wrong.
if (((int)a)>b) { .... }