Fix warning..

This commit is contained in:
TingPing 2014-02-15 11:55:29 -05:00
parent 22b5affbe6
commit d3b4771103
1 changed files with 1 additions and 1 deletions

View File

@ -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)