From f68f92776baf89b65db41314102663be533cdb1a Mon Sep 17 00:00:00 2001 From: SChernykh Date: Sat, 19 Feb 2022 10:17:53 +0100 Subject: Undefined behaviour fixes Fixes issues reported in #8120 --- contrib/epee/include/net/levin_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/epee/include/net/levin_base.h') 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; -- cgit v1.2.3