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/.
dexter gerrit-no-reply at lists.osmocom.orgdexter has uploaded this change for review. ( https://gerrit.osmocom.org/13267 Change subject: pcu_sock: cast to long unsigned int before printing ...................................................................... pcu_sock: cast to long unsigned int before printing When using %lu and sizeof() for printing the compiler may throw a warning. Lets prevent this by casting to long unsigned int. Change-Id: If5cb656537b1b73b9361a132801ab47ab7f8a709 --- M src/common/pcu_sock.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/67/13267/1 diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c index 60e0f7a..64ec714 100644 --- a/src/common/pcu_sock.c +++ b/src/common/pcu_sock.c @@ -777,7 +777,7 @@ if (rc < sizeof(*pcu_prim)) { LOGP(DPCU, LOGL_ERROR, "Received %d bytes on PCU Socket, but primitive size " - "is %lu, discarding\n", rc, sizeof(*pcu_prim)); + "is %lu, discarding\n", rc, (long unsigned int) sizeof(*pcu_prim)); return 0; } -- To view, visit https://gerrit.osmocom.org/13267 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: If5cb656537b1b73b9361a132801ab47ab7f8a709 Gerrit-Change-Number: 13267 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier at sysmocom.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190315/96308974/attachment.htm>