From 88c0121fcb364467ed1cf5c2205b7d004f057ceb Mon Sep 17 00:00:00 2001 From: csjp Date: Tue, 21 Sep 2004 22:12:43 +0000 Subject: Since "d" is an array of 32 bit values, it is more correct to change the cast from unsigned int to uint32_t. Pointed out by: luigi --- sbin/ipfw/ipfw2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin') diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c index 4d7c535..97cbf4c 100644 --- a/sbin/ipfw/ipfw2.c +++ b/sbin/ipfw/ipfw2.c @@ -3329,7 +3329,7 @@ read_options: jid = (int)strtol(*av, &end, 0); if (jid < 0 || *end != '\0') errx(EX_DATAERR, "jail requires prison ID"); - cmd32->d[0] = (unsigned int)jid; + cmd32->d[0] = (uint32_t)jid; cmd->len |= F_INSN_SIZE(ipfw_insn_u32); ac--; av++; } -- cgit v1.1