Undefined behaviour fixes

Fixes issues reported in #8120
This commit is contained in:
SChernykh 2022-02-19 10:17:53 +01:00
parent 9aab19f349
commit f68f92776b
6 changed files with 24 additions and 12 deletions

View file

@ -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;