From 7dec311e83ff7759915a792e2b2c4e4cc2d38e66 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Fri, 27 Jan 2012 13:26:25 +0000 Subject: [PATCH] a variable was erroneously declared as 32 bit instead of 64. MFC after: 3 days --- sys/netinet/ipfw/dn_sched_qfq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/ipfw/dn_sched_qfq.c b/sys/netinet/ipfw/dn_sched_qfq.c index c37b65e1ee26..be7fba31564e 100644 --- a/sys/netinet/ipfw/dn_sched_qfq.c +++ b/sys/netinet/ipfw/dn_sched_qfq.c @@ -608,7 +608,7 @@ static inline void qfq_update_start(struct qfq_sched *q, struct qfq_class *cl) { unsigned long mask; - uint32_t limit, roundedF; + uint64_t limit, roundedF; int slot_shift = cl->grp->slot_shift; roundedF = qfq_round_down(cl->F, slot_shift);