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

This commit is contained in:
Bryan A. Jones
2013-01-09 09:54:29 -06:00
parent c3475a7397
commit 146dfa3b2d

View File

@ -164,8 +164,8 @@ void UnityMalloc_MakeMallocFailAfterCount(int countdown)
typedef struct GuardBytes
{
int size;
char guard[sizeof(int)];
size_t size;
char guard[sizeof(size_t)];
} Guard;