mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
The high/low bits masks for TEST_ASSERT_BIT(S)_HIGH/LOW are created by casting 0/-1 to UNITY_UINT32. This isn't OK on 64-bit platforms as it results in a high bits mask of 0x00000000ffffffff instead of 0xffffffffffffffff. Cast 0/-1 to UNITY_UINT instead.