]> mj.ucw.cz Git - libucw.git/blobdiff - lib/sorter.h
Fixxed test for ROLE=reap --> reap+watson
[libucw.git] / lib / sorter.h
index d8d9dc6d87b1353ebdceed76ee8bb7ddb31756c1..3d31b65662c6f90d7d4aa4044b7d145a058df346 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *     Sherlock Library -- Universal Sorter
+ *     UCW Library -- Universal Sorter
  *
  *     (c) 2001--2004 Martin Mares <mj@ucw.cz>
  *     (c) 2004 Robert Spalek <robert@ucw.cz>
@@ -304,7 +304,7 @@ P(presort)(struct fastbuf **fb1, struct fastbuf **fb2)
        {
          run_count++;
 #ifdef SORT_UP_TO
-         if (sorter_presort_bufsize < SORT_UP_TO)
+         if (sorter_presort_bufsize < (uns) SORT_UP_TO)
 #endif
            SWAP(out1, out2, tbuf);
          if (!out1)