diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-03-30 23:09:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-30 23:09:48 +0000 |
commit | 75005b3a8e2897f056a0adabac591fbf4bad91cd (patch) | |
tree | dd9eae5df83dcf4f9be16094d08f0da4696e8126 /ld | |
parent | 2422fad9eb9932dca8cdb98f38d9a024b786be1a (diff) | |
download | gdb-75005b3a8e2897f056a0adabac591fbf4bad91cd.zip gdb-75005b3a8e2897f056a0adabac591fbf4bad91cd.tar.gz gdb-75005b3a8e2897f056a0adabac591fbf4bad91cd.tar.bz2 |
sim: use socklen_t with accept()
The accept() function takes a socklen_t, not an int. Using an int causes:
dv-sockser.c: In function 'connected_p':
dv-sockser.c:273: warning: pointer targets in passing argument 3
of 'accept' differ in signedness
So use the same socklen_t detection code as gdb and convert the accept().
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions