Index: src_plugins/lib_gtk_common/util_str.c =================================================================== --- src_plugins/lib_gtk_common/util_str.c (revision 6668) +++ src_plugins/lib_gtk_common/util_str.c (revision 6669) @@ -45,7 +45,7 @@ return TRUE; } -const gchar *pcb_str_strip_left(gchar * s) +const gchar *pcb_str_strip_left(const gchar * s) { const gchar *r = ""; Index: src_plugins/lib_gtk_common/util_str.h =================================================================== --- src_plugins/lib_gtk_common/util_str.h (revision 6668) +++ src_plugins/lib_gtk_common/util_str.h (revision 6669) @@ -36,5 +36,5 @@ gboolean pcb_gtk_g_strdup(gchar ** dst, const gchar * src); /** Moves the @s pointer starting from the beginning, skipping spaces. */ -const gchar *pcb_str_strip_left(gchar * s); +const gchar *pcb_str_strip_left(const gchar * s); #endif