Module Name:    src
Committed By:   pooka
Date:           Sat Jan  1 20:43:01 UTC 2011

Modified Files:
        src/tests/fs/vfs: t_io.c

Log Message:
Guess-fix a signed vs. unsigned compiler warning report by pgoyette
(it doesn't trigger in my src working copy for whatever reason).


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/fs/vfs/t_io.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/fs/vfs/t_io.c
diff -u src/tests/fs/vfs/t_io.c:1.4 src/tests/fs/vfs/t_io.c:1.5
--- src/tests/fs/vfs/t_io.c:1.4	Sat Jan  1 20:30:56 2011
+++ src/tests/fs/vfs/t_io.c	Sat Jan  1 20:43:01 2011
@@ -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();
 }

Reply via email to