The code below works OK, the address is printed, but gives a ‘wrong type’ warning. I’m quite new to Xcode, and expected an uncomplaining conversion of a pointer to an unsigned.
{NSLog(@"Released <%@> at %X, retain count now %lu", newEntry, newEntry, [newEntry retainCount]);}
Correct format specifier for pointer address is %p: