Made 64-bit safe.