1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-25 01:11:36 +01:00

Merge pull request #27 from bjones1/master

Fix: Corrected type of size in GuardBytes to be size_t, not int.
This commit is contained in:
John Van Enk
2013-01-09 19:49:45 -08:00

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;