Fix issue caused by incorrect comparison when sizeof(long long) is different from sizeof(void*).