Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/blacklist/lib silence sign-conversion warning f...



details:   https://anonhg.NetBSD.org/src/rev/c6e143ccd8b4
branches:  trunk
changeset: 460954:c6e143ccd8b4
user:      tnn <tnn%NetBSD.org@localhost>
date:      Mon Nov 11 09:24:56 2019 +0000

description:
silence sign-conversion warning from clang

diffstat:

 external/bsd/blacklist/lib/blacklist.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b6de368308a7 -r c6e143ccd8b4 external/bsd/blacklist/lib/blacklist.c
--- a/external/bsd/blacklist/lib/blacklist.c    Mon Nov 11 08:12:35 2019 +0000
+++ b/external/bsd/blacklist/lib/blacklist.c    Mon Nov 11 09:24:56 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: blacklist.c,v 1.6 2019/11/06 20:50:01 christos Exp $   */
+/*     $NetBSD: blacklist.c,v 1.7 2019/11/11 09:24:56 tnn Exp $        */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: blacklist.c,v 1.6 2019/11/06 20:50:01 christos Exp $");
+__RCSID("$NetBSD: blacklist.c,v 1.7 2019/11/11 09:24:56 tnn Exp $");
 
 #include <stdio.h>
 #include <bl.h>
@@ -61,7 +61,7 @@
 blacklist_sa_r(struct blacklist *bl, int action, int rfd,
        const struct sockaddr *sa, socklen_t slen, const char *msg)
 {
-       int internal_action;
+       bl_type_t internal_action;
 
        /* internal values are not the same as user application values */
        switch (action) {



Home | Main Index | Thread Index | Old Index