Source-Changes-HG archive

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

[src/trunk]: src/sys/modules/pf pf_table.c has many left-shift of negative va...



details:   https://anonhg.NetBSD.org/src/rev/eb91c2c35d71
branches:  trunk
changeset: 829580:eb91c2c35d71
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Feb 06 09:20:50 2018 +0000

description:
pf_table.c has many left-shift of negative value issues.

diffstat:

 sys/modules/pf/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r e980c8c809ec -r eb91c2c35d71 sys/modules/pf/Makefile
--- a/sys/modules/pf/Makefile   Tue Feb 06 09:20:29 2018 +0000
+++ b/sys/modules/pf/Makefile   Tue Feb 06 09:20:50 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2015/08/20 11:05:01 christos Exp $
+# $NetBSD: Makefile,v 1.5 2018/02/06 09:20:50 mrg Exp $
 
 .include "../Makefile.inc"
 
@@ -20,4 +20,6 @@
 
 CPPFLAGS+=     -I${S}/dist/pf -I${S} -DINET6 -DINET
 
+COPTS.pf_table.c+=     -Wno-error=shift-negative-value
+
 .include <bsd.kmodule.mk>



Home | Main Index | Thread Index | Old Index