aboutsummaryrefslogtreecommitdiff
path: root/gencode.h
diff options
context:
space:
mode:
authorBaptiste Peugnez <baptiste.peugnez@cea.fr>2015-02-03 08:46:05 +0100
committerBaptiste Peugnez <baptiste.peugnez@cea.fr>2015-02-03 08:46:05 +0100
commit323dc2a81688bb2c734c015263e7ff9d87cc4bba (patch)
treea04f92c8283a880595a5d8e86e6ad527c8a53c67 /gencode.h
parentc4ddd6282b6614f98cc0c4a0ad09a13e5ad4ac7f (diff)
gencode.c / gencode.h : Type of variable "masklen"
Correction of the type of "masklen" variable: "unsigned int"
Diffstat (limited to 'gencode.h')
-rw-r--r--gencode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gencode.h b/gencode.h
index e6b3a71e..6ffee53b 100644
--- a/gencode.h
+++ b/gencode.h
@@ -294,9 +294,9 @@ void gen_not(struct block *);
struct block *gen_scode(const char *, struct qual);
struct block *gen_ecode(const u_char *, struct qual);
struct block *gen_acode(const u_char *, struct qual);
-struct block *gen_mcode(const char *, const char *, int, struct qual);
+struct block *gen_mcode(const char *, const char *, unsigned int, struct qual);
#ifdef INET6
-struct block *gen_mcode6(const char *, const char *, int, struct qual);
+struct block *gen_mcode6(const char *, const char *, unsigned int, struct qual);
#endif
struct block *gen_ncode(const char *, bpf_u_int32, struct qual);
struct block *gen_proto_abbrev(int);