mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
fix compiler warnings: -Wpointer-sign
This commit is contained in:
parent
c5aa5d008f
commit
a6aff5c0c7
@ -226,7 +226,7 @@ static int nfq_main(void)
|
||||
while ((rv = recv(fd, buf, sizeof(buf), 0)) > 0)
|
||||
{
|
||||
dohup();
|
||||
int r = nfq_handle_packet(h, buf, rv);
|
||||
int r = nfq_handle_packet(h, (char *)buf, rv);
|
||||
if (r) fprintf(stderr, "nfq_handle_packet error %d\n", r);
|
||||
}
|
||||
fprintf(stderr, "recv: errno %d\n",errno);
|
||||
|
Loading…
Reference in New Issue
Block a user