X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/365346ca30a19526675e46d4f23ab29ac02774f3..fb55e28d83ab11c17b8932019362a8926598efcd:/generator.c diff --git a/generator.c b/generator.c index f2e7c71d..48273f0c 100644 --- a/generator.c +++ b/generator.c @@ -155,7 +155,7 @@ static void sum_sizes_sqroot_baarda(struct sum_struct *sum, uint64 len) blength = 0; do { blength |= c; - if (len < (uint64)(blength * blength)) + if (len < (uint64)blength * blength) blength &= ~c; c >>= 1; } while (c >= 8); /* round to multiple of 8 */