Fix undefined behaviour in C.  This patch uses offsetof() macro defined in
the C specs instead of using a macro which dereferences a null pointer.
The offsetof() macro is available since C89.

Change-Id: I62b9b1d726dd0c3a956bdc4ae4cdd5db3dc55040
2 files changed
tree: 03805668ba4893f93020c84ed4829dc56c826f8c
  1. bcm4329/
  2. bcmdhd/
  3. .gitignore
  4. CleanSpec.mk