[PATCH] Fix compile warnings on 64-bit systems

Jouni Malinen j
Fri Jun 6 04:18:25 PDT 2008

On Thu, Jun 05, 2008 at 03:37:36PM -0400, Pavel Roskin wrote:
> Don't cast pointers to int in definitions of PRISM2_HOSTAPD_RID_HDR_LEN
> and PRISM2_HOSTAPD_GENERIC_ELEMENT_HDR_LEN.  Use size_t instead.  That's
> actually what the code needs.

Thanks, applied. For some reason, my x86_64 cross compiler does not
complain about these, but anyway, the changes look reasonable.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list