Avoid possible Undefined Behavior

(related to a possible negative zero, as reported by RV-Match)
This commit is contained in:
Mijail
2017-02-02 17:19:02 +01:00
parent 29c1d07f25
commit 8c8c2a2292
+1 -1
View File
@@ -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