fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-gprs/+/35299?usp=email )
Change subject: llc: fix unsigned rc in gprs_llc_lle_tx_xid_resp() ...................................................................... llc: fix unsigned rc in gprs_llc_lle_tx_xid_resp() Change-Id: I724a1052fff2a43484c8bbf58b115d0769050191 Fixes: CID#300608 --- M src/llc/llc.c 1 file changed, 12 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-gprs refs/changes/99/35299/1 diff --git a/src/llc/llc.c b/src/llc/llc.c index dc1a7b6..48d1ba6 100644 --- a/src/llc/llc.c +++ b/src/llc/llc.c @@ -534,10 +534,10 @@ int gprs_llc_lle_tx_xid_resp(struct gprs_llc_lle *lle, uint8_t *l3par, unsigned int l3par_len) { uint8_t bytes_response[1024]; - unsigned int rc, i; + int rc; /* Replace the SNDCP L3 xid_field with response from our upper layer: */ - for (i = 0; i < lle->rx_xid_len; i++) { + for (unsigned int i = 0; i < lle->rx_xid_len; i++) { struct gprs_llc_xid_field *xid_field_l3; if (lle->rx_xid[i].type != OSMO_GPRS_LLC_XID_T_L3_PAR) continue; -- To view, visit https://gerrit.osmocom.org/c/libosmo-gprs/+/35299?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-gprs Gerrit-Branch: master Gerrit-Change-Id: I724a1052fff2a43484c8bbf58b115d0769050191 Gerrit-Change-Number: 35299 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanits...@sysmocom.de> Gerrit-MessageType: newchange