Fix warning..

This commit is contained in:
TingPing 2014-02-15 11:55:29 -05:00
parent 22b5affbe6
commit d3b4771103

View File

@ -404,7 +404,7 @@ chanlist_search_pressed (GtkButton * button, server *serv)
static void static void
chanlist_find_cb (GtkWidget * wid, server *serv) 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. */ /* recompile the regular expression. */
if (serv->gui->have_regex) if (serv->gui->have_regex)