cas pointer to int