fix #82 make uintptr and intptr functions that cast not ffi types