git: 1b2636e535ed - main - tests/unix_stream: fix signedness error
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Feb 2025 19:08:14 UTC
The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=1b2636e535edf10c4da0dda5a8b538be8e9358bd commit 1b2636e535edf10c4da0dda5a8b538be8e9358bd Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2025-02-11 19:07:41 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2025-02-11 19:07:41 +0000 tests/unix_stream: fix signedness error Fixes: bc7ee0b52a8dd613711c7225244aac954b41e534 --- tests/sys/kern/unix_stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/kern/unix_stream.c b/tests/sys/kern/unix_stream.c index 49aabdaa0943..d93bbeff4e41 100644 --- a/tests/sys/kern/unix_stream.c +++ b/tests/sys/kern/unix_stream.c @@ -153,7 +153,7 @@ ATF_TC_BODY(full_not_writable, tc) check_writable(sv[0], 0); /* Read some data and re-check. */ - ATF_REQUIRE(read(sv[1], buf, sendspace / 2) == sendspace / 2); + ATF_REQUIRE(read(sv[1], buf, sendspace / 2) == (ssize_t)sendspace / 2); check_writable(sv[0], 1);