diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-07-24 13:29:26 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-07-24 13:29:26 +0200 |
| commit | 4969639c7cdd2ed636f880a59755e6cda8907ff9 (patch) | |
| tree | d76971ec5764c320912d4a4e0be9d9fc98507eb5 /executor/executor_bsd.cc | |
| parent | 9fe4bdc5f1037a409e82299f36117030114c7b94 (diff) | |
executor: fix strict aliasing violations
test_copyin does bad things. Fix that.
executor/test.h: In function ‘int test_copyin()’:
executor/common.h:299:16: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
*(type*)(addr) = (type)(val); \
^
Diffstat (limited to 'executor/executor_bsd.cc')
0 files changed, 0 insertions, 0 deletions
