Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/svr4 copyinst() takes a `size_t *'.



details:   https://anonhg.NetBSD.org/src/rev/aef8cdcc89db
branches:  trunk
changeset: 473267:aef8cdcc89db
user:      pk <pk%NetBSD.org@localhost>
date:      Thu May 27 14:03:05 1999 +0000

description:
copyinst() takes a `size_t *'.

diffstat:

 sys/compat/svr4/svr4_socket.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 072b76ed3384 -r aef8cdcc89db sys/compat/svr4/svr4_socket.c
--- a/sys/compat/svr4/svr4_socket.c     Thu May 27 13:30:40 1999 +0000
+++ b/sys/compat/svr4/svr4_socket.c     Thu May 27 14:03:05 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_socket.c,v 1.6 1998/09/04 19:54:39 christos Exp $ */
+/*     $NetBSD: svr4_socket.c,v 1.7 1999/05/27 14:03:05 pk Exp $       */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -147,7 +147,8 @@
        struct stat *st;
 {
        struct svr4_sockcache_entry *e;
-       int len, error;
+       size_t len;
+       int error;
 
        if (!initialized) {
                TAILQ_INIT(&svr4_head);



Home | Main Index | Thread Index | Old Index