Skip to content

Commit 5b6a6b7

Browse files
error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
1 parent 1ca3d0f commit 5b6a6b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/test/src/sys/socket/linux/sendto_recvfrom_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ TEST_F(LlvmLibcSendToRecvFromTest, RecvFromFails) {
6262

6363
ASSERT_THAT(
6464
LIBC_NAMESPACE::recvfrom(-1, buffer, sizeof(buffer), 0, nullptr, 0),
65-
Fails(ssize_t(EBADF)));
65+
Fails(ssize_t(EBADF), ssize_t(-1)));
6666
}

0 commit comments

Comments
 (0)