summary refs log tree commit diff stats
path: root/src/fe-gtk/chanlist.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-02-15 11:55:29 -0500
committerTingPing <tingping@tingping.se>2014-02-15 11:55:29 -0500
commitd3b47711035449058d2d124baca9ebc1e7e821c1 (patch)
tree05aa7a594dbe1116ef3d8fe8f4e25b5442f89286 /src/fe-gtk/chanlist.c
parent22b5affbe61f8ba17fbc499bf93a2f7d378cc283 (diff)
Fix warning..
Diffstat (limited to 'src/fe-gtk/chanlist.c')
-rw-r--r--src/fe-gtk/chanlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/chanlist.c b/src/fe-gtk/chanlist.c
index 869187e1..f3a2259d 100644
--- a/src/fe-gtk/chanlist.c
+++ b/src/fe-gtk/chanlist.c
@@ -404,7 +404,7 @@ chanlist_search_pressed (GtkButton * button, server *serv)
 static void
 chanlist_find_cb (GtkWidget * wid, server *serv)
 {
-	char *pattern = gtk_entry_get_text (GTK_ENTRY (wid));
+	const char *pattern = gtk_entry_get_text (GTK_ENTRY (wid));
 
 	/* recompile the regular expression. */
 	if (serv->gui->have_regex)