Pavel Roskin c6710e50f6 [PATCH] hostap: use offsetof() instead of own equivalent
The original macros result in gcc 4.2 warning about "cast from pointer
to integer of different size" on 64-bit systems.

Use of offsetof() on fields in substructures is widespread throughout
the kernel code and should work whether offsetof() is defined using
__compiler_offsetof() or a cast.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2007-04-28 11:00:55 -04:00
..
2007-04-19 19:20:52 -04:00
2007-04-17 16:36:28 -07:00
2007-03-09 21:06:40 -05:00
2007-04-25 22:28:26 -07:00
2007-04-27 10:57:30 -07:00
2007-04-27 15:19:27 -07:00
2007-02-11 10:51:24 -08:00