1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

Fix progress bar display for large xfer/dcc files (more than 2 Gb)

This commit is contained in:
Sebastien Helleu
2009-08-05 13:10:09 +02:00
parent 7d0e5edc9a
commit acef147775
+1 -1
View File
@@ -101,7 +101,7 @@ xfer_network_child_read_cb (void *arg_xfer, int fd)
if (num_read > 0)
{
error = NULL;
xfer->pos = strtol (bufpipe + 2, &error, 10);
xfer->pos = (unsigned long)(strtoll (bufpipe + 2, &error, 10));
xfer->last_activity = time (NULL);
xfer_file_calculate_speed (xfer, 0);