Source-Changes-HG archive

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

[src/trunk]: src/tools/compat PR/48063: Justin Cormack: incorrect definition ...



details:   https://anonhg.NetBSD.org/src/rev/7c6c08483910
branches:  trunk
changeset: 788779:7c6c08483910
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jul 19 12:00:30 2013 +0000

description:
PR/48063: Justin Cormack: incorrect definition of socklen_t

diffstat:

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

diffs (18 lines):

diff -r cac00559261b -r 7c6c08483910 tools/compat/compat_defs.h
--- a/tools/compat/compat_defs.h        Fri Jul 19 11:56:42 2013 +0000
+++ b/tools/compat/compat_defs.h        Fri Jul 19 12:00:30 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_defs.h,v 1.88 2013/03/05 16:26:41 christos Exp $        */
+/*     $NetBSD: compat_defs.h,v 1.89 2013/07/19 12:00:30 christos Exp $        */
 
 #ifndef        __NETBSD_COMPAT_DEFS_H__
 #define        __NETBSD_COMPAT_DEFS_H__
@@ -168,7 +168,7 @@
 #endif
 
 #if !HAVE_SOCKLEN_T
-typedef int socklen_t;
+typedef unsigned int socklen_t;
 #endif
 
 #if !HAVE_U_LONG



Home | Main Index | Thread Index | Old Index