#define SCNuPTR SCNu16 

decimal scanf format for uintptr_t