[PATCH v2] RADIUS client: Fix void-pointer-to-enum-cast warning

Jouni Malinen j at w1.fi
Thu Aug 19 04:00:47 PDT 2021


On Thu, Apr 22, 2021 at 10:59:40PM +0000, Joshua Emele wrote:
> Found using x86_64-cros-linux-gnu-clang (Chromium OS
> 12.0_pre416183_p20210305-r3 clang version 12.0.0):
> 
> radius_client.c:818:24: warning: cast to smaller integer ...
>         RadiusType msg_type = (RadiusType) sock_ctx;

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list