]> git.sesse.net Git - jam/commitdiff
Fix a long vs. long long issue.
authorsgunderson@bigfoot.com <>
Tue, 13 Feb 2007 20:00:08 +0000 (21:00 +0100)
committersgunderson@bigfoot.com <>
Tue, 13 Feb 2007 20:00:08 +0000 (21:00 +0100)
jam.c

diff --git a/jam.c b/jam.c
index d447debb1c723849714fd3b65356a3ca024ed0d5..18839c834daaa4ad82ad181f81ddd3be97e42098 100644 (file)
--- a/jam.c
+++ b/jam.c
@@ -227,7 +227,7 @@ void *sender_worker(void *arg)
                }
 
                for (i = 0; i < num_active; ++i) {
-                       unsigned bytes_to_send = events[i].data.u64;
+                       unsigned long long bytes_to_send = events[i].data.u64;
                        unsigned ret;
 
                        if (bytes_to_send > 65536) {