On Sun, 3 Jul 2022 13:44:05 +0700, Ammar Faizi wrote: > From: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx> > > Sometimes the compiler accepts (struct sockaddr_in *) to be passed in > to (struct sockaddr *) without a cast. But not all compilers agree with > that. Building with clang 13.0.1 yields the following error: > > error: incompatible pointer types passing 'struct sockaddr_in *' to \ > parameter of type 'struct sockaddr *' [-Werror,-Wincompatible-pointer-types] > > [...] Applied, thanks! [1/1] test/helpers: Use a proper cast for `(struct sockaddr *)` argument commit: 752c325dcde43be8d87f83b16d346beac5e1de2a Best regards, -- Jens Axboe