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.org
Review at https://gerrit.osmocom.org/572
fix compiler warning: msg_utils.c: fn_chk() constify arg
The only caller dtx_sched_optional() passes const arrays and a warning was
issued.
Change-Id: I18e0788ef96489d2116a60cae57bd516fe6eae8e
---
M src/common/msg_utils.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/72/572/1
diff --git a/src/common/msg_utils.c b/src/common/msg_utils.c
index 2042577..f12c653 100644
--- a/src/common/msg_utils.c
+++ b/src/common/msg_utils.c
@@ -111,7 +111,7 @@
memcpy(lchan->tch.last_sid.buf, l1_payload, copy_len);
}
-static inline bool fn_chk(uint8_t *t, uint32_t fn)
+static inline bool fn_chk(const uint8_t *t, uint32_t fn)
{
uint8_t i;
for (i = 0; i < ARRAY_SIZE(t); i++)
--
To view, visit https://gerrit.osmocom.org/572
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I18e0788ef96489d2116a60cae57bd516fe6eae8e
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>