From: Robert Spalek Date: Tue, 9 Nov 2004 15:46:39 +0000 (+0000) Subject: just a bit more funny initialization for the SORT_UP_TO loop X-Git-Tag: holmes-import~874 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=a3f04f5ce30eb0384ce89b5827cdc29cb73faf4e;p=libucw.git just a bit more funny initialization for the SORT_UP_TO loop --- diff --git a/lib/sorter.h b/lib/sorter.h index 4c7f1990..04243318 100644 --- a/lib/sorter.h +++ b/lib/sorter.h @@ -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)