提交 146dfa3b 编写于 作者: B Bryan A. Jones

Fix: Corrected type of size in GuardBytes to be size_t, not int.

上级 c3475a73
...@@ -164,8 +164,8 @@ void UnityMalloc_MakeMallocFailAfterCount(int countdown) ...@@ -164,8 +164,8 @@ void UnityMalloc_MakeMallocFailAfterCount(int countdown)
typedef struct GuardBytes typedef struct GuardBytes
{ {
int size; size_t size;
char guard[sizeof(int)]; char guard[sizeof(size_t)];
} Guard; } Guard;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册