summaryrefslogtreecommitdiffstats
path: root/src/import/hwpf/fapi2/include/variable_buffer.H
diff options
context:
space:
mode:
authorMatt K. Light <mklight@us.ibm.com>2015-09-08 14:43:15 -0500
committerPatrick Williams <iawillia@us.ibm.com>2015-12-11 13:40:20 -0600
commita7911ac2bf297342a5fe5a9cb74b0d7bd0930bf4 (patch)
treeb208846dfabad13c12071d10319cc1eb215d2330 /src/import/hwpf/fapi2/include/variable_buffer.H
parent9dab67ab66bf769bf447ccdbe59e00e953334f26 (diff)
downloadtalos-hostboot-a7911ac2bf297342a5fe5a9cb74b0d7bd0930bf4.tar.gz
talos-hostboot-a7911ac2bf297342a5fe5a9cb74b0d7bd0930bf4.zip
set default length of bits to clear to one
Change-Id: I156e8dbaf28058672c99d208881b74ea267b440d Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20369 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'src/import/hwpf/fapi2/include/variable_buffer.H')
-rw-r--r--src/import/hwpf/fapi2/include/variable_buffer.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/hwpf/fapi2/include/variable_buffer.H b/src/import/hwpf/fapi2/include/variable_buffer.H
index 813409da2..f8700f663 100644
--- a/src/import/hwpf/fapi2/include/variable_buffer.H
+++ b/src/import/hwpf/fapi2/include/variable_buffer.H
@@ -444,7 +444,7 @@ class variable_buffer
/// compile time so this can be templated only. If that is not
/// the case we can add a function parameter version.
///
- inline fapi2::ReturnCodes clearBit(bits_type SB, bits_type L = 0)
+ inline fapi2::ReturnCodes clearBit(bits_type SB, bits_type L = 1)
{
ReturnCodes rc = invert().setBit(SB, L);
OpenPOWER on IntegriCloud