Fix icom.c compile warning for Windows as %z format not supported in MinGW

pull/910/head
Mike Black W9MDB 2021-12-20 09:30:27 -06:00
rodzic 783ae504a7
commit 367023db31
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -8630,11 +8630,11 @@ static int icom_parse_spectrum_frame(RIG *rig, size_t length,
cache->spectrum_metadata_valid = 1;
rig_debug(RIG_DEBUG_TRACE,
"%s: Spectrum line start: id=%d division=%d max_division=%d mode=%d center=%.0f span=%.0f low_edge=%.0f high_edge=%.0f oor=%d data_length=%zd\n",
"%s: Spectrum line start: id=%d division=%d max_division=%d mode=%d center=%.0f span=%.0f low_edge=%.0f high_edge=%.0f oor=%d data_length=%d\n",
__func__, spectrum_id, division, max_division, spectrum_scope_mode,
cache->spectrum_center_freq, cache->spectrum_span_freq,
cache->spectrum_low_edge_freq, cache->spectrum_high_edge_freq, out_of_range,
spectrum_data_length_in_frame);
(int)spectrum_data_length_in_frame);
}
else
{