summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc-send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/dcc/dcc-send.c')
-rw-r--r--src/irc/dcc/dcc-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/dcc/dcc-send.c b/src/irc/dcc/dcc-send.c
index ebd155c6..319898ef 100644
--- a/src/irc/dcc/dcc-send.c
+++ b/src/irc/dcc/dcc-send.c
@@ -101,7 +101,7 @@ static void dcc_send_read_size(SEND_DCC_REC *dcc)
memcpy(&bytes, dcc->count_buf, 4);
bytes = (guint32) ntohl(bytes);
- dcc->gotalldata = (long) bytes == dcc->transfd;
+ dcc->gotalldata = (unsigned long) bytes == dcc->transfd;
dcc->count_pos = 0;
if (dcc->waitforend && dcc->gotalldata) {