summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/util/prdfFlyWeightS.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/diag/prdf/common/util/prdfFlyWeightS.C')
-rwxr-xr-xsrc/usr/diag/prdf/common/util/prdfFlyWeightS.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/diag/prdf/common/util/prdfFlyWeightS.C b/src/usr/diag/prdf/common/util/prdfFlyWeightS.C
index 1cb310375..1c2e978e5 100755
--- a/src/usr/diag/prdf/common/util/prdfFlyWeightS.C
+++ b/src/usr/diag/prdf/common/util/prdfFlyWeightS.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2015 */
+/* Contributors Listed Below - COPYRIGHT 2012,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -274,7 +274,7 @@ void FlyWeightS<T,S>::increaseSize()
l_merged = false;
i_next++;
- while ((*i_next == NULL) && (i_next != iv_rows.end()))
+ while ( (iv_rows.end() != i_next) && (NULL == *i_next) )
i_next++;
if (i_next == iv_rows.end())
OpenPOWER on IntegriCloud