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

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;