Fix warning about crossing INT32_MAX boundary in computation of constant value.
This commit is contained in:
parent
1ee89ab5dd
commit
ef9afde438
@ -299,7 +299,7 @@ eval_pfaltq(struct pfctl *pf, struct pf_altq *pa, struct node_queue_bw *bw,
|
|||||||
size = 4;
|
size = 4;
|
||||||
else if (rate <= 200 * 1000 * 1000)
|
else if (rate <= 200 * 1000 * 1000)
|
||||||
size = 8;
|
size = 8;
|
||||||
else if (rate <= 2500 * 1000 * 1000)
|
else if (rate <= 2500 * 1000 * 1000ULL)
|
||||||
size = 24;
|
size = 24;
|
||||||
else
|
else
|
||||||
size = 128;
|
size = 128;
|
||||||
|
Loading…
Reference in New Issue
Block a user