diff options
author | Sam Leffler <sam@FreeBSD.org> | 2009-01-15 04:25:21 +0000 |
---|---|---|
committer | Sam Leffler <sam@FreeBSD.org> | 2009-01-15 04:25:21 +0000 |
commit | 22188e6ab4f02f981de3b9f228a40b1e8f98e6a1 (patch) | |
tree | e396cb7a4849178b23486ba07b66a6dfede1d1e9 /driver_hostap.h | |
parent | 17914a6ec9e4814998abdaec5a947b6a78709a19 (diff) |
Notes
Diffstat (limited to 'driver_hostap.h')
-rw-r--r-- | driver_hostap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_hostap.h b/driver_hostap.h index a83322f7e2371..a2508ed924f68 100644 --- a/driver_hostap.h +++ b/driver_hostap.h @@ -84,9 +84,9 @@ enum { #define PRISM2_HOSTAPD_MAX_BUF_SIZE 1024 #define PRISM2_HOSTAPD_RID_HDR_LEN \ -((int) (&((struct prism2_hostapd_param *) 0)->u.rid.data)) +((size_t) (&((struct prism2_hostapd_param *) 0)->u.rid.data)) #define PRISM2_HOSTAPD_GENERIC_ELEMENT_HDR_LEN \ -((int) (&((struct prism2_hostapd_param *) 0)->u.generic_elem.data)) +((size_t) (&((struct prism2_hostapd_param *) 0)->u.generic_elem.data)) /* Maximum length for algorithm names (-1 for nul termination) used in ioctl() */ |