summaryrefslogtreecommitdiff
path: root/include/bl_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bl_common.h')
-rw-r--r--include/bl_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bl_common.h b/include/bl_common.h
index 995b5e6c..7912ab6f 100644
--- a/include/bl_common.h
+++ b/include/bl_common.h
@@ -69,7 +69,7 @@
* The following compilation error is triggered if the assertion fails:
* "error: size of array 'msg' is negative"
******************************************************************************/
-#define CASSERT(cond, msg) typedef char msg[(cond) ? 0 : -1]
+#define CASSERT(cond, msg) typedef char msg[(cond) ? 1 : -1]
/******************************************************************************
* Opcode passed in x0 to tell next EL that we want to run an image.