diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-09 23:10:16 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-09 23:11:29 +0100 |
commit | 0b369c582b94c2b409417bcaed0fcdd90d925d9e (patch) | |
tree | 9cd304e5a70e101136c314f3c69ab2bfe1ad3c18 /openbsc/src/bsc_rll.c | |
parent | 5652cfc0e82ef1cc42ae2e61b68409ec933ce39c (diff) |
e1_input: Fix compiler warning by using offsetof
Use the offsetof/__builtin_offsetof to determine the
offset of a variable inside a structure instead of going
via a NULL pointer and taking the address.
This fixes:
warning: variably modified ‘dummyhalen_offset’ at file scope
Diffstat (limited to 'openbsc/src/bsc_rll.c')
0 files changed, 0 insertions, 0 deletions