kopia lustrzana https://github.com/Hamlib/Hamlib
Fix another icom.c compile warning
rodzic
367023db31
commit
f12b4187e4
|
@ -8652,8 +8652,8 @@ static int icom_parse_spectrum_frame(RIG *rig, size_t length,
|
||||||
priv_caps->spectrum_scope_caps.spectrum_line_length)
|
priv_caps->spectrum_scope_caps.spectrum_line_length)
|
||||||
{
|
{
|
||||||
rig_debug(RIG_DEBUG_ERR,
|
rig_debug(RIG_DEBUG_ERR,
|
||||||
"%s: too much spectrum scope data received: %ld bytes > %d bytes expected\n",
|
"%s: too much spectrum scope data received: %d bytes > %d bytes expected\n",
|
||||||
__func__, offset + spectrum_data_length_in_frame,
|
__func__, (int)(offset + spectrum_data_length_in_frame),
|
||||||
priv_caps->spectrum_scope_caps.spectrum_line_length);
|
priv_caps->spectrum_scope_caps.spectrum_line_length);
|
||||||
RETURNFUNC(-RIG_EPROTO);
|
RETURNFUNC(-RIG_EPROTO);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue