Skip to content

Commit ac8a8b2

Browse files
committed
Fix rig_list_foreach in hamlibmodels.c
Hamlib#1647
1 parent 728d0a5 commit ac8a8b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/hamlibmodels.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ char *list[1000]; // as of 2023-01-17 we have 275 rigs so this should cover us f
77

88
int nmodels = 0;
99

10-
static int hash_model_list(struct rig_caps *caps, void *data)
10+
static int hash_model_list(const struct rig_caps *caps, void *data)
1111
{
1212
char s[256];
1313
sprintf(s, "%s %s", caps->mfg_name, caps->model_name);

0 commit comments

Comments
 (0)