Cast result of obstack_base to gdb_byte * in a couple spots.
authorPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:24:55 +0000 (15:24 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:24:55 +0000 (15:24 +0000)
commit51a5cd9059b96a2ac33cf149d369db12b891fd96
treef5e5827454ba1b61f62888034c4832bc0c37b182
parenta993366103a671e95f5721e5517f8a68149d4d0a
Cast result of obstack_base to gdb_byte * in a couple spots.

obstack_base returns char *.  Need to cast to gdb_byte * in a couple spots.

gdb/
2013-04-19  Pedro Alves  <palves@redhat.com>

* c-lang.c (evaluate_subexp_c): Cast result of obstack_base to
gdb_byte *.
* linux-tdep.c (linux_make_mappings_corefile_notes): Likewise.
gdb/ChangeLog
gdb/c-lang.c
gdb/linux-tdep.c