From a833793a15bcfdcccf47a7e72d2733f451e9af64 Mon Sep 17 00:00:00 2001 From: LiviaMedeiros Date: Tue, 13 Aug 2024 23:19:49 +0800 Subject: [PATCH] nfqws: fix buffer signedness for `nfq_handle_packet()` --- nfq/nfqws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfq/nfqws.c b/nfq/nfqws.c index 212ed2f..b800397 100644 --- a/nfq/nfqws.c +++ b/nfq/nfqws.c @@ -156,7 +156,7 @@ static int nfq_main(void) struct nfq_handle *h = NULL; struct nfq_q_handle *qh = NULL; int fd,rv; - uint8_t buf[16384] __attribute__((aligned)); + char buf[16384] __attribute__((aligned)); printf("opening library handle\n"); h = nfq_open();