compile fix

don't compare pointer to int