Index: trunk/src/route_style.c =================================================================== --- trunk/src/route_style.c (revision 32796) +++ trunk/src/route_style.c (revision 32797) @@ -319,7 +319,7 @@ return 0; } -int pcb_route_style_change_name(pcb_board_t *pcb, int rstidx, char *new_name, rnd_bool undoable) +int pcb_route_style_change_name(pcb_board_t *pcb, int rstidx, const char *new_name, rnd_bool undoable) { undo_rst_t gtmp, *g = >mp; pcb_route_style_t *rst = vtroutestyle_get(&pcb->RouteStyle, rstidx, 0); Index: trunk/src/route_style.h =================================================================== --- trunk/src/route_style.h (revision 32796) +++ trunk/src/route_style.h (revision 32797) @@ -68,4 +68,4 @@ int pcb_route_style_change(pcb_board_t *pcb, int rstidx, rnd_coord_t *thick, rnd_coord_t *textt, int *texts, rnd_coord_t *clearance, rnd_cardinal_t *via_proto, rnd_bool undoable); /* Change the name. Returns 0 on success. */ -int pcb_route_style_change_name(pcb_board_t *pcb, int rstidx, char *new_name, rnd_bool undoable); +int pcb_route_style_change_name(pcb_board_t *pcb, int rstidx, const char *new_name, rnd_bool undoable);