diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2011-03-24 10:00:44 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2011-03-24 10:00:44 +0000 |
commit | 03cdde7ed5a7b662b9174c281fbf7f0157f619f0 (patch) | |
tree | aeaf95ac795bc5c094fffd0ac587d844f1983d27 /usr.sbin | |
parent | fa66820cd20f3b54ca989719ec9244a84aa4878f (diff) |
Make the sequence number constanst explicitly unsigned. The seq_num is
already defined as a u_int32_t type.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ospf6d/ospf6.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ospf6d/ospf6.h b/usr.sbin/ospf6d/ospf6.h index 10f8889cb1e..19316239f40 100644 --- a/usr.sbin/ospf6d/ospf6.h +++ b/usr.sbin/ospf6d/ospf6.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ospf6.h,v 1.17 2010/07/14 17:06:52 claudio Exp $ */ +/* $OpenBSD: ospf6.h,v 1.18 2011/03/24 10:00:43 claudio Exp $ */ /* * Copyright (c) 2004, 2005, 2007 Esben Norby <norby@openbsd.org> @@ -100,9 +100,9 @@ #define CHECK_AGE 300 #define MAX_AGE_DIFF 900 #define LS_INFINITY 0xffffff -#define RESV_SEQ_NUM 0x80000000 /* reserved and "unused" */ -#define INIT_SEQ_NUM 0x80000001 -#define MAX_SEQ_NUM 0x7fffffff +#define RESV_SEQ_NUM 0x80000000U /* reserved and "unused" */ +#define INIT_SEQ_NUM 0x80000001U +#define MAX_SEQ_NUM 0x7fffffffU /* OSPF header */ struct ospf_hdr { |