#define PRIdPTR PRId16 

decimal printf format for intptr_t