mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-10-18 12:53:23 +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
|
||||
{
|
||||
int size;
|
||||
char guard[sizeof(int)];
|
||||
size_t size;
|
||||
char guard[sizeof(size_t)];
|
||||
} Guard;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user