fix-pointer-to-int-cast warninigs (64-bit)
fix format warnings (64-bit)