From d8d751edd3e55f59d751c366fd87e03a7841a3c5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 3 Jun 1999 03:40:27 +0000 Subject: 1999-06-03 Mark Kettenis * default_pager.c (new_partition): Declare `waste' as `int' instead of `unsigned int'. --- serverboot/default_pager.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'serverboot') diff --git a/serverboot/default_pager.c b/serverboot/default_pager.c index 09bff076..bfce88b1 100644 --- a/serverboot/default_pager.c +++ b/serverboot/default_pager.c @@ -228,7 +228,8 @@ new_partition (const char *name, struct file_direct *fdp, /* The partition's first page has a Linux swap signature. This means the beginning of the page contains a bitmap of good pages, and all others are bad. */ - unsigned int i, j, bad, waste, max; + unsigned int i, j, bad, max; + int waste; printf("(default pager): Found Linux 2.0 swap signature in %s\n", name); -- cgit v1.2.3