#define INTPTR_MAX INT16_MAX 

largest positive value an intptr_t can hold.