mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-26 03:17:59 +08:00
Use UNITY_PTR_ATTRIBUTE() in one place where it was (accidentally?) not used.
This eliminates a compiler warning for certain compilers.
This commit is contained in:
@ -1177,8 +1177,8 @@ void UnityAssertEqualMemory( UNITY_PTR_ATTRIBUTE const void* expected,
|
||||
UnityAddMsgIfSpecified(msg);
|
||||
UNITY_FAIL_AND_BAIL;
|
||||
}
|
||||
ptr_exp += 1;
|
||||
ptr_act += 1;
|
||||
ptr_exp = (UNITY_PTR_ATTRIBUTE const void*)((_UP)ptr_exp + 1);
|
||||
ptr_act = (UNITY_PTR_ATTRIBUTE const void*)((_UP)ptr_act + 1);
|
||||
}
|
||||
/////////////////////////////////////
|
||||
|
||||
|
Reference in New Issue
Block a user