ccch: Fix the cast of the frequency list
authorHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 16 Jan 2011 10:22:58 +0000 (11:22 +0100)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 23 Jan 2011 10:36:30 +0000 (11:36 +0100)
src/host/layer23/src/misc/app_ccch_scan.c

index c2d75f3..0fe83b1 100644 (file)
@@ -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);