$OpenBSD: patch-net_cc,v 1.1 2002/10/06 22:28:49 naddy Exp $ --- net.cc.orig Mon Mar 29 19:16:32 1999 +++ net.cc Sun Oct 6 23:05:29 2002 @@ -344,7 +344,7 @@ void Network::send(const msghdr& mh) int Network::dorecv(u_char* buf, int len, u_int32_t& from, int fd) { sockaddr_in sfrom; - int fromlen = sizeof(sfrom); + socklen_t fromlen = sizeof(sfrom); int cc = ::recvfrom(fd, (char*)buf, len, 0, (sockaddr*)&sfrom, &fromlen); if (cc < 0) {