Fix compile warnings on 64-bit systems
authorPavel Roskin <proski@gnu.org>
Fri, 6 Jun 2008 11:17:03 +0000 (14:17 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 6 Jun 2008 11:17:03 +0000 (14:17 +0300)
commitf3833aee90edbebd692669ead38cbf550a8cb007
treec7bfd3ab8c31199743ef7210f684343247b97cd5
parentad844747cac22312edb1996f10a678c055282c1a
Fix compile warnings on 64-bit systems

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.
hostapd/hostap_common.h
src/drivers/driver_hostap.h