mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-12-17 22:08:07 +08:00
Fix additional primitive type conversion warnings on Linux
Using gcc 4.8 on Ubuntu 14
This commit is contained in:
@@ -733,7 +733,7 @@ void UnityAssertFloatSpecial(const _UF actual,
|
||||
const char* trait_names[] = { UnityStrInf, UnityStrNegInf, UnityStrNaN, UnityStrDet };
|
||||
_U_SINT should_be_trait = ((_U_SINT)style & 1);
|
||||
_U_SINT is_trait = !should_be_trait;
|
||||
_U_SINT trait_index = style >> 1;
|
||||
_U_SINT trait_index = (_U_SINT)(style >> 1);
|
||||
|
||||
UNITY_SKIP_EXECUTION;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user