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.orgHello pespin,
I'd like you to do a code review. Please visit
https://gerrit.osmocom.org/c/osmo-bts/+/19398
to review the following change.
Change subject: bts-trx: trx_if.c: Fix some printf formats
......................................................................
bts-trx: trx_if.c: Fix some printf formats
Compiler from raspberrypi4 warns/errors about those.
Change-Id: I4f973eb4ffdf8869b522d14e25853357fcd1e984
---
M src/osmo-bts-trx/trx_if.c
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/98/19398/1
diff --git a/src/osmo-bts-trx/trx_if.c b/src/osmo-bts-trx/trx_if.c
index 099c330..f717a0c 100644
--- a/src/osmo-bts-trx/trx_if.c
+++ b/src/osmo-bts-trx/trx_if.c
@@ -394,8 +394,8 @@
goto parse_err;
if (p - buf_in >= sizeof(rsp->cmd)) {
- LOGP(DTRX, LOGL_ERROR, "cmd buffer too small %lu >= %lu\n",
- p - buf_in, sizeof(rsp->cmd));
+ LOGP(DTRX, LOGL_ERROR, "cmd buffer too small %lu >= %zu\n",
+ (long unsigned) (p - buf_in), sizeof(rsp->cmd));
goto parse_err;
}
@@ -415,7 +415,7 @@
k = p + strlen(p);
if (strlen(k) >= sizeof(rsp->params)) {
- LOGP(DTRX, LOGL_ERROR, "params buffer too small %lu >= %lu\n",
+ LOGP(DTRX, LOGL_ERROR, "params buffer too small %zu >= %zu\n",
strlen(k), sizeof(rsp->params));
goto parse_err;
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/19398
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: rel-1.2.1
Gerrit-Change-Id: I4f973eb4ffdf8869b522d14e25853357fcd1e984
Gerrit-Change-Number: 19398
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200726/668e6e47/attachment.htm>