Remove direct struct access from usage of the Hamlib API

Preparation for safe dynamic linking to Hamlib where minor Hamlib
upgrades can be deployed just by replacing the DLL/SO.
This commit is contained in:
Bill Somerville
2021-02-02 22:45:45 +00:00
parent eecebc710d
commit f972fc18e1
10 changed files with 939 additions and 910 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ OmniRig::RigParamX OmniRigTransceiver::map_mode (MODE mode)
void OmniRigTransceiver::register_transceivers (logger_type *,
TransceiverFactory::Transceivers * registry,
int id1, int id2)
unsigned id1, unsigned id2)
{
(*registry)[OmniRig_transceiver_one_name] = TransceiverFactory::Capabilities {
id1