mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-10-19 13:23:36 +08:00
Fix: Corrected type of size in GuardBytes to be size_t, not int.
This commit is contained in:
@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user