From e452a1b543b9f7879203ae9cfc939e695f5a198d Mon Sep 17 00:00:00 2001 From: Aravind T Nair Date: Mon, 13 Mar 2017 01:15:56 -0500 Subject: [PATCH] Fix compile warnings from trace statements Change-Id: Iff4dc8c219bbd9ec1858fefd26848ea3e41ad534 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37830 Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: Richard J. Knight Reviewed-by: Sachin Gupta Reviewed-by: Daniel M. Crowell Reviewed-by: PARVATHI RACHAKONDA Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37842 Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins --- src/import/hwpf/fapi2/include/collect_reg_ffdc.H | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/import/hwpf/fapi2/include/collect_reg_ffdc.H b/src/import/hwpf/fapi2/include/collect_reg_ffdc.H index 8fb3c826d70..e1eb33e0d5a 100644 --- a/src/import/hwpf/fapi2/include/collect_reg_ffdc.H +++ b/src/import/hwpf/fapi2/include/collect_reg_ffdc.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2016 */ +/* Contributors Listed Below - COPYRIGHT 2015,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -606,8 +606,8 @@ void collectRegFfdc(const fapi2::ffdc_t i_target, // object of the FFDC class o_errorInfoFfdc.push_back(std::shared_ptr(new ErrorInfoFfdc(i_ffdcId, l_pBuf, l_ffdcSize))); - FAPI_INF("collectRegFfdc. SCOM address count: 0x%lx", l_scomAddresses.size()); - FAPI_INF("collectRegFfdc. CFAM address count: 0x%lx", l_cfamAddresses.size()); + FAPI_INF("collectRegFfdc. SCOM address count: %d", (uint32_t)(l_scomAddresses.size())); + FAPI_INF("collectRegFfdc. CFAM address count: %d", (uint32_t)(l_cfamAddresses.size())); FAPI_INF("collectRegFfdc() - exit"); }