From 1c929cd69482b52f780e1faedf7b8998d346dc1e Mon Sep 17 00:00:00 2001 From: TingPing Date: Mon, 25 Mar 2013 03:17:58 -0300 Subject: [PATCH] Fix warning --- src/fe-gtk/userlistgui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fe-gtk/userlistgui.c b/src/fe-gtk/userlistgui.c index a2a7e9ae..35728c8f 100644 --- a/src/fe-gtk/userlistgui.c +++ b/src/fe-gtk/userlistgui.c @@ -328,7 +328,7 @@ fe_userlist_rehash (session *sess, struct User *user) { GtkTreeIter *iter; int sel; - int nick_color = NULL; + int nick_color = 0; iter = find_row (GTK_TREE_VIEW (sess->gui->user_tree), sess->res->user_model, user, &sel); @@ -353,7 +353,7 @@ fe_userlist_insert (session *sess, struct User *newuser, int row, int sel) GdkPixbuf *pix = get_user_icon (sess->server, newuser); GtkTreeIter iter; char *nick; - int nick_color = NULL; + int nick_color = 0; if (prefs.hex_away_track && prefs.hex_away_size_max && newuser->away) nick_color = COL_AWAY;