summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/xip
diff options
context:
space:
mode:
authorKahn Evans <kahnevan@us.ibm.com>2016-06-24 14:43:44 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-06-28 12:31:12 -0400
commit2e58f03a03f5044d2391587378a92a64e64d5bfc (patch)
tree7678dd19da0a3ecd87eeebe908717246f1f705d2 /src/import/chips/p9/xip
parentcdec936410e5a4d5882dcab1538e26b57284915a (diff)
downloadtalos-hostboot-2e58f03a03f5044d2391587378a92a64e64d5bfc.tar.gz
talos-hostboot-2e58f03a03f5044d2391587378a92a64e64d5bfc.zip
Resolve compile warnings in Cronus for signed/unsigned comparison.
Change-Id: If2639b3ef670b997141bcb4f6205499d4ef3e6bf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26270 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Tested-by: PPE CI Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Tested-by: Hostboot CI Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26272 Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/xip')
-rw-r--r--src/import/chips/p9/xip/p9_xip_image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/chips/p9/xip/p9_xip_image.c b/src/import/chips/p9/xip/p9_xip_image.c
index b29e929a4..c65daf756 100644
--- a/src/import/chips/p9/xip/p9_xip_image.c
+++ b/src/import/chips/p9/xip/p9_xip_image.c
@@ -1046,7 +1046,7 @@ XIP_STATIC int
xipHashCollision(P9XipHashedToc* i_fixedToc, size_t i_entries)
{
int rc;
- int i, j;
+ size_t i, j;
rc = 0;
@@ -1057,7 +1057,7 @@ xipHashCollision(P9XipHashedToc* i_fixedToc, size_t i_entries)
if (i_fixedToc[i].iv_hash == i_fixedToc[j].iv_hash)
{
rc = TRACE_ERRORX(P9_XIP_HASH_COLLISION,
- "Hash collision at index %d\n",
+ "Hash collision at index %zd\n",
i);
break;
}
OpenPOWER on IntegriCloud