Module Name: src Committed By: christos Date: Thu Sep 26 01:29:00 UTC 2019
Modified Files: src/sys/compat/sys: socket.h Log Message: accrightslen is always used in an unsigned context so make it. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/compat/sys/socket.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/compat/sys/socket.h diff -u src/sys/compat/sys/socket.h:1.18 src/sys/compat/sys/socket.h:1.19 --- src/sys/compat/sys/socket.h:1.18 Thu Apr 11 00:42:08 2019 +++ src/sys/compat/sys/socket.h Wed Sep 25 21:29:00 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: socket.h,v 1.18 2019/04/11 04:42:08 msaitoh Exp $ */ +/* $NetBSD: socket.h,v 1.19 2019/09/26 01:29:00 christos Exp $ */ /* * Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994 @@ -67,7 +67,7 @@ struct omsghdr { struct iovec *msg_iov; /* scatter/gather array */ int msg_iovlen; /* # elements in msg_iov */ void * msg_accrights; /* access rights sent/received */ - int msg_accrightslen; + u_int msg_accrightslen; }; /*