aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-01-14 11:27:34 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-01-14 11:27:34 +0100
commit4c928485ba9a52621e5832a9f7a3e573f328a7eb (patch)
treed970663ad8d5318b4cf54d29790b50a17c9578e5 /src
parent84c3e8649a2ccdb367aa07a27f0be20fc7932cf6 (diff)
tests/hnb-test: Fix signedness of assigned pointer
Diffstat (limited to 'src')
-rw-r--r--src/tests/hnb-test.c2
1 files changed, 1 insertions, 1 deletions
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 @@ static void hnb_send_register_req(struct hnb_test *hnb_test)
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;