(introduced by c3bada27) Signed-off-by: Duncan Roe <duncan_roe@xxxxxxxxxxxxxxx> --- examples/nf-queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nf-queue.c b/examples/nf-queue.c index 6983418..4466ca8 100644 --- a/examples/nf-queue.c +++ b/examples/nf-queue.c @@ -89,7 +89,7 @@ static int queue_cb(const struct nlmsghdr *nlh, void *data) if (attr[NFQA_HWADDR]) { struct nfqnl_msg_packet_hw *hw = mnl_attr_get_payload(attr[NFQA_HWADDR]); unsigned int hwlen = ntohs(hw->hw_addrlen); - const char *addr = hw->hw_addr; + const unsigned char *addr = hw->hw_addr; unsigned int i; printf(", hwaddr %02x", addr[0]); -- 2.17.5