hamlib 4.6 bug fix

* hamlib 4.6~git changes creates incompatible call with
    previous versions of the library
This commit is contained in:
Michael Black 2023-11-30 12:25:38 -06:00 committed by dave-w1hkj
parent 4a97c10166
commit f12f797755

View file

@ -568,7 +568,11 @@ static void *hamlib_loop(void *args)
return NULL;
}
#ifdef RIGCAPS_NOT_CONST
static int add_to_list(struct rig_caps* rc, void*)
#else
static int add_to_list(const struct rig_caps* rc, void*)
#endif
{
hamlib_rigs.push_back(rc);
return 1;