Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/fs/vfs Guess-fix a signed vs. unsigned compiler warnin...
details: https://anonhg.NetBSD.org/src/rev/b22f4c1c2ba6
branches: trunk
changeset: 760255:b22f4c1c2ba6
user: pooka <pooka%NetBSD.org@localhost>
date: Sat Jan 01 20:43:01 2011 +0000
description:
Guess-fix a signed vs. unsigned compiler warning report by pgoyette
(it doesn't trigger in my src working copy for whatever reason).
diffstat:
tests/fs/vfs/t_io.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r c39796bfb25d -r b22f4c1c2ba6 tests/fs/vfs/t_io.c
--- a/tests/fs/vfs/t_io.c Sat Jan 01 20:30:56 2011 +0000
+++ b/tests/fs/vfs/t_io.c Sat Jan 01 20:43:01 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_io.c,v 1.4 2011/01/01 20:30:56 pooka Exp $ */
+/* $NetBSD: t_io.c,v 1.5 2011/01/01 20:43:01 pooka Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -98,7 +98,7 @@
ATF_REQUIRE_STREQ(buf, TESTSTR);
RL(rump_sys_fstat(fd, &sb));
- ATF_REQUIRE_EQ(sb.st_size, TESTSZ + seekcnt);
+ ATF_REQUIRE_EQ(sb.st_size, (off_t)TESTSZ + seekcnt);
RL(rump_sys_close(fd));
FSTEST_EXIT();
}
Home |
Main Index |
Thread Index |
Old Index