Replace (void *) cast with (gdb_byte *)
authorSimon Marchi <simon.marchi@polymtl.ca>
Sat, 24 Oct 2015 22:36:26 +0000 (18:36 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sat, 24 Oct 2015 22:36:26 +0000 (18:36 -0400)
commit55e5bf59f09012c978aa952670be654b6c5598e8
tree80b9cdedb025a5d0be3c9e50a4b04715f381e7f2
parent49e66b4debebff088958077201eabab36df168f0
Replace (void *) cast with (gdb_byte *)

Fixes:

/home/simark/src/binutils-gdb/gdb/nat/linux-ptrace.c:207:6: error: invalid conversion from ‘void*’ to ‘gdb_byte* {aka unsigned char*}’ [-fpermissive]
   pc = (void *) (uintptr_t) l;
         ^

gdb/ChangeLog:

* nat/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Replace
(void *) cast with (gdb_byte *).
gdb/ChangeLog
gdb/nat/linux-ptrace.c
This page took 0.024317 seconds and 4 git commands to generate.