Index: trunk/src/rats_patch.c =================================================================== --- trunk/src/rats_patch.c (revision 38248) +++ trunk/src/rats_patch.c (revision 38249) @@ -1032,7 +1032,7 @@ if (fn == NULL) { char *default_file; - static const *fmts[] = {"bap", "backannv2", "backannv1", "pcb", NULL}; + static const char *fmts[] = {"bap", "backannv2", "backannv1", "pcb", NULL}; rnd_hid_dad_subdialog_t fmtsub_local = {0}, *fmtsub = &fmtsub_local; int wfmt, fmt_id;