mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-08-09 20:57:51 +00:00
Merge pull request #107 from hmijail/master
Avoid possible Undefined Behavior
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@
|
||||
|
||||
#define CMOCK_ARG_MODE CMOCK_MEM_INDEX_TYPE
|
||||
#define CMOCK_ARG_ALL 0
|
||||
#define CMOCK_ARG_NONE ((CMOCK_MEM_INDEX_TYPE)(~0))
|
||||
#define CMOCK_ARG_NONE ((CMOCK_MEM_INDEX_TYPE)(~0U))
|
||||
|
||||
//-------------------------------------------------------
|
||||
// Memory API
|
||||
|
||||
Reference in New Issue
Block a user