Fix invalid use of long for address. Use unsigned long long for cross-platform 64-bit int.