Avoid casting pointer to unsigned long long for NULL check