From d3b47711035449058d2d124baca9ebc1e7e821c1 Mon Sep 17 00:00:00 2001 From: TingPing Date: Sat, 15 Feb 2014 11:55:29 -0500 Subject: Fix warning.. --- src/fe-gtk/chanlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-gtk/chanlist.c') 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) -- cgit 1.4.1