mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-28 18:54:27 +01:00
Fix additional primitive type conversion warnings on Linux
Using gcc 4.8 on Ubuntu 14
This commit is contained in:
@@ -24,7 +24,7 @@ void UnityOutputCharSpy_Create(int s)
|
||||
spy_enable = 0;
|
||||
buffer = malloc((size_t)size);
|
||||
TEST_ASSERT_NOT_NULL_MESSAGE(buffer, "Internal malloc failed in Spy Create():" __FILE__);
|
||||
memset(buffer, 0, size);
|
||||
memset(buffer, 0, (size_t)size);
|
||||
}
|
||||
|
||||
void UnityOutputCharSpy_Destroy(void)
|
||||
|
||||
Reference in New Issue
Block a user