From d9d562874db7166c79be798461bfc1630e2d89cd Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Mon, 31 May 2021 08:36:45 -0500 Subject: [PATCH] Fix compilation warning in icom.c --- rigs/icom/icom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rigs/icom/icom.c b/rigs/icom/icom.c index 1375f9afe..88b8faee5 100644 --- a/rigs/icom/icom.c +++ b/rigs/icom/icom.c @@ -7944,7 +7944,7 @@ static int icom_parse_spectrum_frame(RIG *rig, int length, const unsigned char * int max_division = (int) from_bcd(frame_data + 2, 1 * 2); int spectrum_data_length_in_frame; - unsigned char *spectrum_data_start_in_frame; + const unsigned char *spectrum_data_start_in_frame; rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);