-Wpointer-sign: coff-pe-read.c: treat strings in PE/COFF data as char *.
authorPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:33:29 +0000 (15:33 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:33:29 +0000 (15:33 +0000)
commitdb5be46fdcf41109a017cbdaeeac5acc9a1f78f3
treefdebdb6963ca2806ecb86fe6fdd7be85fb0ce3bd
parent0f928d685b5b8adbf5e557fb21da52e4b8aace8b
-Wpointer-sign: coff-pe-read.c: treat strings in PE/COFF data as char *.

A couple places take a pointer to the middle of some raw section
buffer and treat them as strings.  Add casts to char * as appropriate,
fixing -Wpointer-sign warnings.

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

* coff-pe-read.c (read_pe_exported_syms): Handle strings as char.
gdb/ChangeLog
gdb/coff-pe-read.c
This page took 0.025497 seconds and 4 git commands to generate.