osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-remsim/+/40869?usp=email )
Change subject: src/bankd/bankd_main: fix error on debian 13 i386 ......................................................................
src/bankd/bankd_main: fix error on debian 13 i386
Fix for:
bankd_main.c:824:46: error: passing argument 5 of 'worker->ops->transceive' from incompatible pointer type [-Wincompatible-pointer-types] 824 | rx_buf, &rx_buf_len); | ^~~~~~~~~~~ | | | DWORD * {aka long unsigned int *} bankd_main.c:824:46: note: expected 'size_t *' {aka 'unsigned int *'} but argument is of type 'DWORD *' {aka 'long unsigned int *'}
Related: OS#6828 Change-Id: I9f943a3448da5f23ea75c116559cf0b6ba6b23c7 --- M src/bankd/bankd_main.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: osmith: Looks good to me, approved fixeria: Looks good to me, but someone else must approve daniel: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/src/bankd/bankd_main.c b/src/bankd/bankd_main.c index fe11497..6e47376 100644 --- a/src/bankd/bankd_main.c +++ b/src/bankd/bankd_main.c @@ -792,7 +792,7 @@ { const struct TpduModemToCard *mdm2sim = &pdu->msg.choice.tpduModemToCard; uint8_t rx_buf[1024]; - DWORD rx_buf_len = sizeof(rx_buf); + size_t rx_buf_len = sizeof(rx_buf); RsproPDU_t *pdu_resp; struct client_slot clslot; struct bank_slot bslot;