From 4e0daf047ed14e54ea7eeb2c1547cbe06332fbf4 Mon Sep 17 00:00:00 2001 From: RichardHitt Date: Sat, 19 Jan 2013 12:33:16 -0800 Subject: Correct almost all compiler warning issues --- src/fe-gtk/gtkutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-gtk/gtkutil.c') diff --git a/src/fe-gtk/gtkutil.c b/src/fe-gtk/gtkutil.c index 0484de83..d032cf48 100644 --- a/src/fe-gtk/gtkutil.c +++ b/src/fe-gtk/gtkutil.c @@ -388,7 +388,7 @@ fe_get_str (char *msg, char *def, void *callback, void *userdata) NULL); gtk_box_set_homogeneous (GTK_BOX (GTK_DIALOG (dialog)->vbox), TRUE); - if ((int) userdata == 1) /* nick box is usually on the very bottom, make it centered */ + if (userdata == (void *)1) /* nick box is usually on the very bottom, make it centered */ { gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER); } -- cgit 1.4.1