Fix mingw32 warning in ft991.c

pull/179/head
Michael Black 2020-01-05 22:41:10 -06:00
rodzic 6467cf0379
commit 525a3f2b66
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -352,7 +352,7 @@ int ft991_set_split_mode(RIG *rig, vfo_t vfo, rmode_t tx_mode,
return err;
}
strncat(restore_commands, priv->ret_data, NEWCAT_DATA_LEN-1);
strncat(restore_commands, priv->ret_data, NEWCAT_DATA_LEN-strlen(restore_commands));
/* Change mode on VFOA */
if (RIG_OK != (err = newcat_set_mode(rig, RIG_VFO_A, tx_mode,