9902 mac: mac_soft_ring_poll should use size_t
Review Request #1242 — Created Oct. 16, 2018 and submitted
Information | |
---|---|
tsoome | |
illumos-gate | |
9902 | |
1243 | |
6bd35a6... | |
Reviewers | |
general | |
gcc 8 build issue: ../../common/inet/ip/ip_squeue.c: In function 'ip_squeue_add_ring': ../../common/inet/ip/ip_squeue.c:511:19: error: cast between incompatible function types from 'mac_receive_t' {aka 'struct msgb * (*)(void *, int)'} to 'mblk_t * (*)(void *, size_t)' {aka 'struct msgb * (*)(void *, long unsigned int)'} [-Werror=cast-function-type] rx_ring->rr_rx = (ip_mac_rx_t)mrfp->mrf_receive; ^