Index: obj_subc.h =================================================================== --- obj_subc.h (revision 35826) +++ obj_subc.h (revision 35827) @@ -177,7 +177,7 @@ /* Allocate and return a new layer in subc, copying binding and basic properties from another subc layer (potentially from another subc) from sl */ -pcb_layer_t *pcb_subc_alloc_layer_like(pcb_subc_t *subc, const pcb_layer_t *sl); +pcb_layer_t *pcb_subc_alloc_layer_like(pcb_subc_t *subc, pcb_layer_t *sl); /*** subc creation helpers ***/