If i'm working with memory addresses specifically, eg when writing a debugger (as opposed to working with pointers to strings, floats, etc. because it is useful to do so) what type should i be using? Ideally taking into consideration 32/64 bit considerations.

Some of the adhoc types i have been using upto now, in the same code, for the same purpose include int64\_t, NSUInteger, char \*, void \*, intptr\_t.

essentially i will need to compare and sort by address. Thanks