]> mj.ucw.cz Git - libucw.git/commitdiff
sign mismatch fixed
authorRobert Spalek <robert@ucw.cz>
Thu, 16 May 2002 08:50:42 +0000 (08:50 +0000)
committerRobert Spalek <robert@ucw.cz>
Thu, 16 May 2002 08:50:42 +0000 (08:50 +0000)
lib/pagecache.c

index 57abfeea3beb50193e798d7118cd713dc9e57ffc..81f5b9fd1d0e158cae04b5b1bdafef05f58b8f96 100644 (file)
@@ -139,7 +139,7 @@ static void
 flush_pages(struct page_cache *c, uns force)
 {
   uns cnt = 0;
-  uns max = force ? ~0 : c->free_count / 2; /* FIXME: Needs tuning */
+  uns max = force ? ~0U : c->free_count / 2; /* FIXME: Needs tuning */
   uns i;
   struct page *p, *q, **req, **rr;