Updated the unit tests for compatibility with GCC 5.4

This commit is contained in:
Pavel Kirienko
2017-03-16 17:16:21 +03:00
parent 182c30490f
commit c914f98772
5 changed files with 10 additions and 6 deletions
@@ -55,7 +55,7 @@ class Storage
{
if (mask[byte * 8U + bit])
{
array[byte] |= static_cast<uint8_t>(1U << bit);
array[byte] = static_cast<uint8_t>(array[byte] | (1U << bit));
}
}
}