diff options
author | Brian Gix <brian.gix@intel.com> | 2020-04-17 11:57:21 -0700 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2020-04-18 08:21:03 -0700 |
commit | ef0970a7235298237eda295e01045ae9660ae0da (patch) | |
tree | 9f36ba0ca19b753f8aeef01cbb687873152e6ab8 /mesh/crypto.c | |
parent | 8519cdbf4f7fa541e852608cbe7044df2dfe8470 (diff) | |
download | bluez-ef0970a7235298237eda295e01045ae9660ae0da.tar.gz |
mesh: Fix GCC 10.0 warnings
Diffstat (limited to 'mesh/crypto.c')
-rw-r--r-- | mesh/crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh/crypto.c b/mesh/crypto.c index df597bb3f..99536594b 100644 --- a/mesh/crypto.c +++ b/mesh/crypto.c @@ -1038,7 +1038,7 @@ bool mesh_crypto_check_avail() uint8_t data[20]; uint8_t mic[8]; } crypto; - uint8_t bytes[0]; + uint8_t bytes[73]; } u; uint8_t out_msg[sizeof(u.crypto.data) + sizeof(u.crypto.mic)]; |