fix-pointer-to-int-cast warninigs (64-bit)
Merge pull request #442 from koeppea/fix-warnings-64bit

Fix 64bit specific warnings