fix for pointer size when casting to integer in the debugger