diff options
author | Harald Welte <laforge@osmocom.org> | 2020-05-13 18:50:45 +0200 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-05-13 18:52:25 +0200 |
commit | 4119e5124d1c7584f2024245adf6823e96d82232 (patch) | |
tree | 7ddf80a8926efaab95e80107e3582056eaa11f4a /tests | |
parent | 2f182e404778f8d3dd9226394c033c43bd9bd340 (diff) |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/subchan_demux/subchan_demux_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 uint8_t test_frames[] = -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)); |