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.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-remsim/+/17479 )
Change subject: rspro_util.c: Use %zu for size_t
......................................................................
rspro_util.c: Use %zu for size_t
Fix the following warning in 32bit builds on ARM:
rspro_util.c:92:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka unsigned int}' [-Wformat=]
Change-Id: I7ea17f8b9fdd68cdac442bf4d4e518f92292f6fc
---
M src/rspro_util.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/79/17479/1
diff --git a/src/rspro_util.c b/src/rspro_util.c
index 1d95aee..ab748f6 100644
--- a/src/rspro_util.c
+++ b/src/rspro_util.c
@@ -89,7 +89,7 @@
//printf("decoding %s\n", msgb_hexdump(msg));
rval = ber_decode(NULL, &asn_DEF_RsproPDU, (void **) &pdu, msgb_l2(msg), msgb_l2len(msg));
if (rval.code != RC_OK) {
- fprintf(stderr, "Failed to decode: %d. Consumed %lu of %u bytes\n",
+ fprintf(stderr, "Failed to decode: %d. Consumed %zu of %u bytes\n",
rval.code, rval.consumed, msgb_length(msg));
return NULL;
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/17479
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I7ea17f8b9fdd68cdac442bf4d4e518f92292f6fc
Gerrit-Change-Number: 17479
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200314/ffb778c6/attachment.htm>