From: Holger Hans Peter Freyther Date: Sun, 16 Jan 2011 10:22:58 +0000 (+0100) Subject: ccch: Fix the cast of the frequency list X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=84bde8f7fbec2f5262350e1b2777f1297822cc8b;p=osmocom-bb.git ccch: Fix the cast of the frequency list --- diff --git a/src/host/layer23/src/misc/app_ccch_scan.c b/src/host/layer23/src/misc/app_ccch_scan.c index c2d75f3..0fe83b1 100644 --- a/src/host/layer23/src/misc/app_ccch_scan.c +++ b/src/host/layer23/src/misc/app_ccch_scan.c @@ -65,7 +65,7 @@ static void dump_bcch(struct osmocom_ms *ms, uint8_t tc, const uint8_t *data) struct gsm48_system_information_type_1 *si1 = (struct gsm48_system_information_type_1 *)data; - gsm48_decode_freq_list(&app_state.cell_arfcns, + gsm48_decode_freq_list(app_state.cell_arfcns, si1->cell_channel_description, sizeof(si1->cell_channel_description), 0xff, 0x01);