Fix additional primitive type conversion warnings on Linux

Using gcc 4.8 on Ubuntu 14
This commit is contained in:
jsalling
2016-02-23 14:46:52 -06:00
parent 7fff3fc034
commit 3faa143f21
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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)