Index: gsch2pcb.c =================================================================== --- gsch2pcb.c (revision 26978) +++ gsch2pcb.c (revision 26979) @@ -424,8 +424,8 @@ if (!have_cli_schematics) { /* load all schematics from the project file unless we have schematics from the cli */ conf_native_t *nat = pcb_conf_get_field("utils/gsch2pcb_rnd/schematics"); if (nat != NULL) { - conf_listitem_t *ci; - for (ci = conflist_first(nat->val.list); ci != NULL; ci = conflist_next(ci)) { + pcb_conf_listitem_t *ci; + for (ci = pcb_conflist_first(nat->val.list); ci != NULL; ci = pcb_conflist_next(ci)) { const char *p = ci->val.string[0]; if (ci->type != CFN_STRING) continue;