]> git.ozlabs.org Git - ccan/commit
net: fix gcc warning about mismatch.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 18 Jul 2022 12:30:17 +0000 (22:00 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 18 Jul 2022 12:32:04 +0000 (22:02 +0930)
commit7b11e7441018fa9e260fa7bd2e67864a1b2c5d94
tree681bf17e7ce6d06eea4eda76b180dbce16bda1aa
parentc9ec9684e3a534fb147dd26938f4b3415c076705
net: fix gcc warning about mismatch.

Header can't use pollfds[2] because type is unknown.  And gcc complains:

ccan/net/net.c:78:70: warning: argument 2 of type ‘struct pollfd[2]’ with mismatched bound [-Warray-parameter=]

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/net/net.c