Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/sys accrightslen is always used in an unsigned co...



details:   https://anonhg.NetBSD.org/src/rev/19037821e155
branches:  trunk
changeset: 459785:19037821e155
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Sep 26 01:29:00 2019 +0000

description:
accrightslen is always used in an unsigned context so make it.

diffstat:

 sys/compat/sys/socket.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fb7d09687bd7 -r 19037821e155 sys/compat/sys/socket.h
--- a/sys/compat/sys/socket.h   Thu Sep 26 01:28:27 2019 +0000
+++ b/sys/compat/sys/socket.h   Thu Sep 26 01:29:00 2019 +0000
@@ -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 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;
 };
 
 /*



Home | Main Index | Thread Index | Old Index