diff options
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r-- | gdb/rs6000-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index 804b316..374976e 100644 --- a/gdb/rs6000-nat.c +++ b/gdb/rs6000-nat.c @@ -132,7 +132,7 @@ static int rs6000_ptrace32 (int req, int id, int *addr, int data, int *buf) { #ifdef HAVE_PTRACE64 - int ret = ptrace64 (req, id, (long long) addr, data, buf); + int ret = ptrace64 (req, id, (uintptr_t) addr, data, buf); #else int ret = ptrace (req, id, (int *)addr, data, buf); #endif |