mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 07:03:33 +08:00
Updated the unit tests for compatibility with GCC 5.4
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user