Index: plug_footprint.c =================================================================== --- plug_footprint.c (revision 33265) +++ plug_footprint.c (revision 33266) @@ -322,7 +322,7 @@ static int fp_sort_cb(const void *a, const void *b) { - const pcb_fplibrary_t **fa = a, **fb = b; + pcb_fplibrary_t * const *fa = a, * const *fb = b; int res = strcmp((*fa)->name, (*fb)->name); return res == 0 ? 1 : res; }