]> mj.ucw.cz Git - libucw.git/commitdiff
just a bit more funny initialization for the SORT_UP_TO loop
authorRobert Spalek <robert@ucw.cz>
Tue, 9 Nov 2004 15:46:39 +0000 (15:46 +0000)
committerRobert Spalek <robert@ucw.cz>
Tue, 9 Nov 2004 15:46:39 +0000 (15:46 +0000)
lib/sorter.h

index 4c7f19904be4f21944044c1a16b26adc4112ea3c..04243318d8ea876c87be35e02131d75320f4a6df 100644 (file)
@@ -531,7 +531,7 @@ struct fastbuf *fb1, struct fastbuf *fb2
     do P(pass)(&fb1, &fb2); while (fb1 && fb2);
 #else
     {
-      sh_off_t run_count = ~0U, max_run_count = 0;
+      sh_off_t run_count = ~1LLU, max_run_count = 0;
       if (fb1)
        max_run_count += bfilesize(fb1);
       if (fb2)