Source-Changes-HG archive

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

[src/trunk]: src/lib/librumphijack give the signmonkey a banana



details:   https://anonhg.NetBSD.org/src/rev/a122f378c409
branches:  trunk
changeset: 762255:a122f378c409
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Feb 18 13:04:52 2011 +0000

description:
give the signmonkey a banana

diffstat:

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

diffs (27 lines):

diff -r 2683d886da7e -r a122f378c409 lib/librumphijack/hijack.c
--- a/lib/librumphijack/hijack.c        Fri Feb 18 13:01:22 2011 +0000
+++ b/lib/librumphijack/hijack.c        Fri Feb 18 13:04:52 2011 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: hijack.c,v 1.49 2011/02/18 11:41:32 pooka Exp $       */
+/*      $NetBSD: hijack.c,v 1.50 2011/02/18 13:04:52 pooka Exp $       */
 
 /*-
  * Copyright (c) 2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: hijack.c,v 1.49 2011/02/18 11:41:32 pooka Exp $");
+__RCSID("$NetBSD: hijack.c,v 1.50 2011/02/18 13:04:52 pooka Exp $");
 
 #define __ssp_weak_name(fun) _hijack_ ## fun
 
@@ -336,7 +336,7 @@
 
        /* if "all" is present, it must be specified first */
        if (strncmp(buf, "all", strlen("all")) == 0) {
-               for (i = 0; i < __arraycount(rumpsockets); i++) {
+               for (i = 0; i < (int)__arraycount(rumpsockets); i++) {
                        rumpsockets[i] = true;
                }
                buf += strlen("all");



Home | Main Index | Thread Index | Old Index