Change in osmo-iuh[master]: tests/hnb-test: Fix signedness of assigned pointer

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Jan 14 13:38:31 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-iuh/+/22175 )

Change subject: tests/hnb-test: Fix signedness of assigned pointer
......................................................................

tests/hnb-test: Fix signedness of assigned pointer

Change-Id: I320ad86b83b0308b43489e8d95f63d6ed55821b5
---
M src/tests/hnb-test.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/tests/hnb-test.c b/src/tests/hnb-test.c
index 4650a90..7824858 100644
--- a/src/tests/hnb-test.c
+++ b/src/tests/hnb-test.c
@@ -667,7 +667,7 @@
 	asn1_u8_to_str(&request.rac, &rac, rac);
 	asn1_u28_to_bitstring(&request.cellIdentity, &cid, cid);
 
-	request.hnB_Identity.hNB_Identity_Info.buf = identity;
+	request.hnB_Identity.hNB_Identity_Info.buf = (uint8_t*) identity;
 	request.hnB_Identity.hNB_Identity_Info.size = strlen(identity);
 
 	request.plmNidentity.buf = plmn;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/22175
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: I320ad86b83b0308b43489e8d95f63d6ed55821b5
Gerrit-Change-Number: 22175
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210114/de784e9a/attachment.htm>


More information about the gerrit-log mailing list