Added 64 bit support. Fixed format string.