summaryrefslogtreecommitdiffstats
path: root/src/include/assert.h
diff options
context:
space:
mode:
authorBill Schwartz <whs@us.ibm.com>2014-03-11 11:03:11 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-03-13 13:56:44 -0500
commit943cb5bf43a77725f161fa9ef761c23ddf70fc13 (patch)
treed91c4f453f3999ba2de2e251d11f9ec78ab10420 /src/include/assert.h
parent6aed7e19917252fe8b7e4313c66b56928d1b428b (diff)
downloadtalos-hostboot-943cb5bf43a77725f161fa9ef761c23ddf70fc13.tar.gz
talos-hostboot-943cb5bf43a77725f161fa9ef761c23ddf70fc13.zip
BEAM fixes in errlm, targeting, initservice, mvpd accessors, hwas, and mdia
Partial updates for issues 94995 Errlm, 94996 targeting, 94998 istep/initservice 94999 VPD accessors, 95000 HWAS, and 95001 MDIA. Open issues require additional research: push_back memory leak, sync_cond_wait infinite loop, masterCpu uninitialized complaint, checkConstantsMatch template no effect, and shutdown has no effect. Issue will be updated with progress. Change-Id: If60fef67564a0c2cb2a10824100480095e896f17 RTC: 94995 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9492 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/assert.h')
-rw-r--r--src/include/assert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/assert.h b/src/include/assert.h
index 84cf1b7b0..2e64cab01 100644
--- a/src/include/assert.h
+++ b/src/include/assert.h
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2011,2013 */
+/* COPYRIGHT International Business Machines Corp. 2011,2014 */
/* */
/* p1 */
/* */
@@ -197,7 +197,7 @@ void __assert(AssertBehavior i_assertb, int i_line);
* typedef char CHECKSIZEVAR[(EXPECTED_SIZE == sizeof(DATA)) -1]
*
*/
-#define CPPASSERT(exp) typedef char compile_time_assert_failed[2*((exp)!=0)-1]
+#define CPPASSERT(exp) typedef char compile_time_assert_failed[2*((exp)?1:0)-1]
#ifdef __cplusplus
OpenPOWER on IntegriCloud