Index: export_openems.c =================================================================== --- export_openems.c (revision 24594) +++ export_openems.c (revision 24595) @@ -629,7 +629,8 @@ static void openems_do_export(pcb_hid_attr_val_t * options) { - const char *filename, *runfn, *end; + const char *filename; + char *runfn, *end; int save_ons[PCB_MAX_LAYER + 2]; int i, len; FILE *fsim;