Change in osmo-iuh[master]: tests/test-ranap: fix missing (void **) cast
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-iuh/+/30084 ) Change subject: tests/test-ranap: fix missing (void **) cast ...................................................................... tests/test-ranap: fix missing (void **) cast Use the function like everywhere else in the code. Fix for: tests/test-ranap.c:73:49: error: passing argument 3 of ‘aper_decode’ from incompatible pointer type [-Werror=incompati ble-pointer-types] Change-Id: I9d8a3ab70accc6a1401fe11a6d2ceef96d3b8c22 --- M src/tests/test-ranap.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/84/30084/1 diff --git a/src/tests/test-ranap.c b/src/tests/test-ranap.c index 73987f6..633bb2b 100644 --- a/src/tests/test-ranap.c +++ b/src/tests/test-ranap.c @@ -70,7 +70,7 @@ OSMO_ASSERT(rv.encoded == 8); /* test re-decoding */ - aper_decode(NULL, &asn_DEF_RANAP_Cause, &c_dec, buf, 1, 0, 0); + aper_decode(NULL, &asn_DEF_RANAP_Cause, (void **)&c_dec, buf, 1, 0, 0); printf("Decoded Cause Misc=%ld\n", c_dec->choice.misc); OSMO_ASSERT(c_dec->present == RANAP_Cause_PR_misc); OSMO_ASSERT(c_dec->choice.misc == inp); -- To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/30084 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-iuh Gerrit-Branch: master Gerrit-Change-Id: I9d8a3ab70accc6a1401fe11a6d2ceef96d3b8c22 Gerrit-Change-Number: 30084 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith@sysmocom.de> Gerrit-MessageType: newchange
participants (1)
-
osmith