64-bit: more pointer precision loss fixes.

Compilation now succeeds on x64 Arch Linux.
Merge pull request #310 from archSeer/master

64-bit pointer precision loss fix
64bit pointer cast fix for debug builds
Merge pull request #311 from archSeer/master

64 bit fix for debug builds
Add pure status to getinfo.