mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 05:43:34 +08:00
-Wold-style-cast; linked list items made noncopyable
This commit is contained in:
@@ -28,7 +28,7 @@ void bitarrayCopy(const unsigned char* src, std::size_t src_offset, std::size_t
|
||||
|
||||
// The number of bits to copy
|
||||
const uint8_t max_offset = uavcan::max(src_bit_offset, dst_bit_offset);
|
||||
const std::size_t copy_bits = uavcan::min(last_bit - src_offset, (std::size_t)(8U - max_offset));
|
||||
const std::size_t copy_bits = uavcan::min(last_bit - src_offset, std::size_t(8U - max_offset));
|
||||
|
||||
/*
|
||||
* The mask indicating which bits of dest to update:
|
||||
|
||||
Reference in New Issue
Block a user