Re: [PATCH v5 12/15] seltests/landlock: rules overlapping test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 19/05/2022 14:24, Konstantin Meskhidze wrote:


5/16/2022 8:41 PM, Mickaël Salaün пишет:

[...]

+
+    /* Makes connection to socket with port[0] */
+    ASSERT_EQ(0, connect(sockfd, (struct sockaddr *)&self->addr4[0],

Can you please get rid of this (struct sockaddr *) type casting please (without compiler warning)?

   Do you have a warning here? Cause I don't.

There is no warning but this kind of cast is useless.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux