uintptr_t Type (Scalar)

stdint.h

typedef unsigned long uintptr_t;

An unsigned integer large enough to hold a void* pointer (specified by C99).

This type can be used when one wants to store a pointer value in an unsigned integer.