Change in libosmo-abis[master]: Fix subchan_demux_test compiler warning on some gcc versions

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.org
Wed May 13 16:52:35 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-abis/+/18240 )


Change subject: Fix subchan_demux_test compiler warning on some gcc versions
......................................................................

Fix subchan_demux_test compiler warning on some gcc versions

In commit Ia082b9fddf03d02afd007825a1588a3ef0dbedae we switched
from 'uint8_t *' to 'const ubit_t *' - change the test case
accordingly.

Change-Id: I7d24b891a21e6e485738ddf4a302583579b012d5
---
M tests/subchan_demux/subchan_demux_test.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/40/18240/1

diff --git a/tests/subchan_demux/subchan_demux_test.c b/tests/subchan_demux/subchan_demux_test.c
index 2a9a678..9afd765 100644
--- a/tests/subchan_demux/subchan_demux_test.c
+++ b/tests/subchan_demux/subchan_demux_test.c
@@ -199,7 +199,7 @@
 
 
 
-static int data_cb(struct subch_demux *demux, int ch, uint8_t *data, int len, void *p)
+static int data_cb(struct subch_demux *demux, int ch, const ubit_t *data, int len, void *p)
 {
 	printf("DATA_CB Channel(%d): %s\n",
 		ch, osmo_hexdump(data, len));

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/18240
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I7d24b891a21e6e485738ddf4a302583579b012d5
Gerrit-Change-Number: 18240
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/20200513/34601af4/attachment.htm>


More information about the gerrit-log mailing list