From db2595276ef1d04c3d8582b50a7936366689af02 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 8 Nov 2009 13:26:22 +0100 Subject: Remove compilation warning on 64-bit machines --- src/gui/gui-completion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/gui-completion.c b/src/gui/gui-completion.c index 2b4ca9063..53e22071e 100644 --- a/src/gui/gui-completion.c +++ b/src/gui/gui-completion.c @@ -1848,7 +1848,7 @@ gui_completion_complete (struct t_gui_completion *completion) while (ptr_item) { - item_is_nick = ((int)(ptr_item->user_data) == 1); + item_is_nick = ((long)(ptr_item->user_data) == 1); if ((item_is_nick && (gui_completion_nickncmp (completion->base_word, ptr_item->data, length) == 0)) -- cgit v1.2.3