aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2010-02-26 21:49:11 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2010-02-26 21:49:11 +0000
commit4179ce18a26f5c5417359a11f822b2084cf79fe9 (patch)
tree50841b62bf102e5e0e804d7853a81fa5bf846be9 /lib
parent9d8ea0c702adfcae2df484182afddd4c426be7d3 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libufs/cgroup.c2
-rw-r--r--lib/libufs/sblock.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libufs/cgroup.c b/lib/libufs/cgroup.c
index 2185682e098f..28e5ea87a430 100644
--- a/lib/libufs/cgroup.c
+++ b/lib/libufs/cgroup.c
@@ -59,7 +59,7 @@ cgread1(struct uufsd *disk, int c)
fs = &disk->d_fs;
- if (c >= fs->fs_ncg) {
+ if ((unsigned)c >= fs->fs_ncg) {
return (0);
}
ccg = fsbtodb(fs, cgtod(fs, c)) * disk->d_bsize;
diff --git a/lib/libufs/sblock.c b/lib/libufs/sblock.c
index c9125f28ad34..8986290039fb 100644
--- a/lib/libufs/sblock.c
+++ b/lib/libufs/sblock.c
@@ -93,7 +93,7 @@ int
sbwrite(struct uufsd *disk, int all)
{
struct fs *fs;
- int i;
+ unsigned i;
ERROR(disk, NULL);