mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
ipfw: fix build
cast to unsigned type to fix warning.
Fixes: 3c76623ad5
This commit is contained in:
parent
57e12d3973
commit
f5a5dd77ea
1 changed files with 2 additions and 2 deletions
|
|
@ -2181,8 +2181,8 @@ print_action_instruction(struct buf_pr *bp, const struct format_opts *fo,
|
|||
if (cmd->len == F_INSN_SIZE(ipfw_insn))
|
||||
bprintf(bp, " %u", cmd->arg1);
|
||||
else
|
||||
bprintf(bp, " %lubytes",
|
||||
cmd->len * sizeof(uint32_t));
|
||||
bprintf(bp, " %ubytes",
|
||||
(unsigned)(cmd->len * sizeof(uint32_t)));
|
||||
break;
|
||||
case O_SETDSCP:
|
||||
if (cmd->arg1 == IP_FW_TARG) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue