Possible Duplicate:
size_t vs. intptr_t
Some of my code deals with pointers and takes uintptr_t
as input since it has to work with pointers.
I now have to do the same thing with integers, So I want to reuse that code.
Is size_t
the same as uintptr_t
? Can I change the implementation and use the same code for both pointers and integers just by replacing uintptr_t
with size_t
?