Cast pointer math to long long int