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/.
Neels Hofmeyr gerrit-no-reply at lists.osmocom.orgNeels Hofmeyr has submitted this change and it was merged.
Change subject: fix compiler warning: xua_test: hexdump pointer type
......................................................................
fix compiler warning: xua_test: hexdump pointer type
Was recently introduced by a70b4599f63b50c4d654eb9e1b1a099a7c8cdc36.
Change-Id: Iab5529f6919fd22902a8b39e8a52079f08deb851
---
M tests/xua/xua_test.c
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Pau Espin Pedrol: Looks good to me, but someone else must approve
Neels Hofmeyr: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/tests/xua/xua_test.c b/tests/xua/xua_test.c
index 4af0836..c496cc4 100644
--- a/tests/xua/xua_test.c
+++ b/tests/xua/xua_test.c
@@ -155,7 +155,7 @@
printf("Testing Decoded GT -> SUA encoding\n");
printf("IN: %s\n", osmo_sccp_gt_dump(gt_in));
- printf(" %s\n", osmo_hexdump_nospc(gt_in, sizeof(struct osmo_sccp_gt)));
+ printf(" %s\n", osmo_hexdump_nospc((const unsigned char*)gt_in, sizeof(struct osmo_sccp_gt)));
/* encode sccp_addr to SUA GT */
xua_part_add_gt(msg, gt_in);
@@ -168,7 +168,7 @@
/* parse + compare */
sua_parse_gt(>_out, msgb_data(msg), msgb_length(msg));
printf("OUT:%s\n", osmo_sccp_gt_dump(>_out));
- printf(" %s\n", osmo_hexdump_nospc(>_out, sizeof(struct osmo_sccp_gt)));
+ printf(" %s\n", osmo_hexdump_nospc((const unsigned char*)>_out, sizeof(struct osmo_sccp_gt)));
OSMO_ASSERT(!memcmp(gt_in, >_out, sizeof(gt_out)));
msgb_free(msg);
--
To view, visit https://gerrit.osmocom.org/3030
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iab5529f6919fd22902a8b39e8a52079f08deb851
Gerrit-PatchSet: 3
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>