Le 23 mars 2024 06:45:39 GMT+01:00, Gleb Smirnoff <[email protected]> a écrit 
:
>The branch main has been updated by glebius:
>
>URL: 
>https://cgit.FreeBSD.org/src/commit/?id=8d3d9ca8bd3db284f6ae671f1e816ba2822f0988
>
>commit 8d3d9ca8bd3db284f6ae671f1e816ba2822f0988
>Author:     Gleb Smirnoff <[email protected]>
>AuthorDate: 2024-03-23 05:44:16 +0000
>Commit:     Gleb Smirnoff <[email protected]>
>CommitDate: 2024-03-23 05:44:16 +0000
>
>    tests/netinet: add UDP socket I/O tests
>    
>    Start a file that would collect tests for I/O functionality of a UDP
>    socket, targeted on how a socket interacts with userland rather than with
>    wire side of the protocol.
>    
>    First version tests that MSG_TRUNC and MSG_PEEK are working correctly.
>---

This breaks 32bits

/home/bapt/worktrees/main/tests/sys/netinet/udp_io.c:121:45: error: comparison 
of integers of different signs: 'ssize_t' (aka 'int') and 'u_int' (aka 
'unsigned int') [-Werror,-Wsign-compare]                        121 |           
      ATF_REQUIRE(recvmsg(s[0], &msg, MSG_PEEK) == n);                          
              |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ 
                                  
/home/bapt/obj/home/bapt/worktrees/main/i386.i386/tmp/usr/include/atf-c/macros.h:144:15:
 note: expanded from macro 'ATF_REQUIRE'                                 144 |  
       if (!(expression)) \                       |               ^~~~~~~~~~


Bapt


Reply via email to