diff options
author | Pedro Alves <palves@redhat.com> | 2015-11-17 15:17:45 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-11-17 15:20:03 +0000 |
commit | 69e976f8cc902adc5ee8aec24e4a208f4afd51b3 (patch) | |
tree | d3817f643cfdc21038d23bec2da966e066ad4238 /gdb/gdbserver/ChangeLog | |
parent | c3de4d92dfd0a1fa8d32a00bbb99de2a4ee0e140 (diff) | |
download | gdb-69e976f8cc902adc5ee8aec24e4a208f4afd51b3.zip gdb-69e976f8cc902adc5ee8aec24e4a208f4afd51b3.tar.gz gdb-69e976f8cc902adc5ee8aec24e4a208f4afd51b3.tar.bz2 |
[C++/mingw] ser-tcp.c casts
Fixes a few errors like these:
../../src/gdb/ser-tcp.c: In function 'int net_open(serial*, const char*)':
../../src/gdb/ser-tcp.c:286:73: error: invalid conversion from 'void*' to 'char*' [-fpermissive]
res = getsockopt (scb->fd, SOL_SOCKET, SO_ERROR, (void *) &err, &len);
^
gdb/ChangeLog:
2015-11-17 Pedro Alves <palves@redhat.com>
* ser-tcp.c (net_open) : Cast getsockopt argument to char *
instead of void *. Update comment.
(net_read_prim): Cast recv argument to char * instead of void *.
(net_write_prim): Cast send argument to char *. Add comment.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
0 files changed, 0 insertions, 0 deletions