diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-02-14 17:42:58 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-02-14 17:42:58 +0000 |
commit | 03a2de3818d3547af96f80c072688c6fdd6c6fe1 (patch) | |
tree | 5a1a482690a82b5a762fe1b22f8d9ecebb0c7f70 /usr.bin | |
parent | 5c113e48aed10704fe27e0b338b08967972af1a5 (diff) | |
download | FreeBSD-src-03a2de3818d3547af96f80c072688c6fdd6c6fe1.zip FreeBSD-src-03a2de3818d3547af96f80c072688c6fdd6c6fe1.tar.gz |
Fix most cases where the address of an int is passed to a function expecting a
socklen_t * argument.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tftp/tftpsubs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tftp/tftpsubs.c b/usr.bin/tftp/tftpsubs.c index a3673d8..a7911cf 100644 --- a/usr.bin/tftp/tftpsubs.c +++ b/usr.bin/tftp/tftpsubs.c @@ -261,7 +261,7 @@ synchnet(f) int i, j = 0; char rbuf[PKTSIZE]; struct sockaddr_storage from; - int fromlen; + socklen_t fromlen; while (1) { (void) ioctl(f, FIONREAD, &i); |