Source-Changes-HG archive

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

[src/trunk]: src/lib/librumphijack play the important typecast game



details:   https://anonhg.NetBSD.org/src/rev/a39b560318e9
branches:  trunk
changeset: 761940:a39b560318e9
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Feb 11 14:02:12 2011 +0000

description:
play the important typecast game

diffstat:

 lib/librumphijack/hijack.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 273270c3082a -r a39b560318e9 lib/librumphijack/hijack.c
--- a/lib/librumphijack/hijack.c        Fri Feb 11 13:19:46 2011 +0000
+++ b/lib/librumphijack/hijack.c        Fri Feb 11 14:02:12 2011 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: hijack.c,v 1.36 2011/02/11 12:46:41 pooka Exp $       */
+/*      $NetBSD: hijack.c,v 1.37 2011/02/11 14:02:12 pooka Exp $       */
 
 /*-
  * Copyright (c) 2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: hijack.c,v 1.36 2011/02/11 12:46:41 pooka Exp $");
+__RCSID("$NetBSD: hijack.c,v 1.37 2011/02/11 14:02:12 pooka Exp $");
 
 #define __ssp_weak_name(fun) _hijack_ ## fun
 
@@ -591,7 +591,7 @@
                if (incr)
                        j++;
        }
-       assert(j == realnfds);
+       assert(j == (int)realnfds);
 
        if (timeout) {
                TIMEVAL_TO_TIMESPEC(timeout, &ts);



Home | Main Index | Thread Index | Old Index