summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-04-19 17:48:09 +0000
committerPedro Alves <palves@redhat.com>2013-04-19 17:48:09 +0000
commit5e5c0ff1bb5f27ebd180c0696a104f2816d0c145 (patch)
tree8ed34d40c80cb1564ccac0d7fb7dfab588233db7 /sim
parent0d9856c8507b0b2e0a88fda3fc14404228218c74 (diff)
downloadgdb-5e5c0ff1bb5f27ebd180c0696a104f2816d0c145.tar.gz
Make GDB -Wpointer-sign clean on MinGW too.
This is the remaining issue impeding GDB to build with "-Wpointer-sign -Werror" with Fedora 17's i686-w64-mingw32 cross toolchain. ../../src/gdb/ser-tcp.c: In function 'net_read_prim': ../../src/gdb/ser-tcp.c:341:3: error: pointer targets in passing argument 2 of 'recv' differ in signedness [-Werror=pointer-sign] In file included from ../../src/gdb/serial.h:23:0, from ../../src/gdb/ser-tcp.c:21: /usr/i686-w64-mingw32/sys-root/mingw/include/winsock2.h:983:34: note: expected 'char *' but argument is of type 'unsigned char *' gdb/ 2013-04-19 Pedro Alves <palves@redhat.com> * ser-tcp.c (net_read_prim): Cast second argument to recv to 'void *'.
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions