summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-11-08 13:26:22 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-11-08 13:26:22 +0100
commitdb2595276ef1d04c3d8582b50a7936366689af02 (patch)
tree0437429cfab9b3e4d84ae2144d5ee172b6e344ac /src
parent36590cca77c45ad18568d62cee35ccad74b17397 (diff)
downloadweechat-db2595276ef1d04c3d8582b50a7936366689af02.zip
Remove compilation warning on 64-bit machines
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui-completion.c2
1 files changed, 1 insertions, 1 deletions
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))