diff options
author | SChernykh <sergey.v.chernykh@gmail.com> | 2022-02-19 10:17:53 +0100 |
---|---|---|
committer | SChernykh <sergey.v.chernykh@gmail.com> | 2022-02-19 10:17:53 +0100 |
commit | f68f92776baf89b65db41314102663be533cdb1a (patch) | |
tree | 0ac380e4d1f427701bf8db61eb1fe77115d0c773 /contrib/epee/include/net/levin_base.h | |
parent | Merge pull request #8135 (diff) | |
download | monero-f68f92776baf89b65db41314102663be533cdb1a.tar.xz |
Undefined behaviour fixes
Fixes issues reported in #8120
Diffstat (limited to '')
-rw-r--r-- | contrib/epee/include/net/levin_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/epee/include/net/levin_base.h b/contrib/epee/include/net/levin_base.h index df59a6c44..b680691ad 100644 --- a/contrib/epee/include/net/levin_base.h +++ b/contrib/epee/include/net/levin_base.h @@ -48,7 +48,7 @@ namespace levin { uint64_t m_signature; uint64_t m_cb; - bool m_have_to_return_data; + uint8_t m_have_to_return_data; uint32_t m_command; int32_t m_return_code; uint32_t m_reservedA; //probably some flags in future @@ -63,7 +63,7 @@ namespace levin { uint64_t m_signature; uint64_t m_cb; - bool m_have_to_return_data; + uint8_t m_have_to_return_data; uint32_t m_command; int32_t m_return_code; uint32_t m_flags; |