summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-03-25 03:17:58 -0300
committerTingPing <tngpng@gmail.com>2013-03-25 03:17:58 -0300
commit1c929cd69482b52f780e1faedf7b8998d346dc1e (patch)
tree338bcc05e179c15e4b16b3c2fef60dbeeec06a19 /src
parenta6042f38b4412cdaa99dc08df257f470d58dbb41 (diff)
Fix warning
Diffstat (limited to 'src')
-rw-r--r--src/fe-gtk/userlistgui.c4
1 files 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;