mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-09-18 08:09:58 +00:00
change CMOCK_MEM_INDEX_TYPE default type to size_t
This commit is contained in:
+2
-1
@@ -16,7 +16,8 @@
|
|||||||
|
|
||||||
/* should be big enough to index full range of CMOCK_MEM_MAX */
|
/* should be big enough to index full range of CMOCK_MEM_MAX */
|
||||||
#ifndef CMOCK_MEM_INDEX_TYPE
|
#ifndef CMOCK_MEM_INDEX_TYPE
|
||||||
#define CMOCK_MEM_INDEX_TYPE unsigned int
|
#include <stddef.h>
|
||||||
|
#define CMOCK_MEM_INDEX_TYPE size_t
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CMOCK_GUTS_NONE (0)
|
#define CMOCK_GUTS_NONE (0)
|
||||||
|
|||||||
Reference in New Issue
Block a user