Source-Changes-HG archive

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

[src/trunk]: src/lib/librumpclient lintsquelch



details:   https://anonhg.NetBSD.org/src/rev/71f8173ebb03
branches:  trunk
changeset: 759181:71f8173ebb03
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Nov 30 22:30:43 2010 +0000

description:
lintsquelch

diffstat:

 lib/librumpclient/rumpclient.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 73bd4811aff4 -r 71f8173ebb03 lib/librumpclient/rumpclient.c
--- a/lib/librumpclient/rumpclient.c    Tue Nov 30 22:15:02 2010 +0000
+++ b/lib/librumpclient/rumpclient.c    Tue Nov 30 22:30:43 2010 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: rumpclient.c,v 1.7 2010/11/30 14:24:40 pooka Exp $    */
+/*      $NetBSD: rumpclient.c,v 1.8 2010/11/30 22:30:43 pooka Exp $    */
 
 /*
  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
@@ -226,7 +226,7 @@
        if (s == -1)
                return -1;
 
-       if (connect(s, sap, sap->sa_len) == -1) {
+       if (connect(s, sap, (socklen_t)sap->sa_len) == -1) {
                error = errno;
                fprintf(stderr, "rump_sp: client connect failed\n");
                errno = error;



Home | Main Index | Thread Index | Old Index