diff options
Diffstat (limited to 'src/usr/diag/prdf/common/mnfgtools/prdfMfgThresholdFile_common.C')
-rwxr-xr-x | src/usr/diag/prdf/common/mnfgtools/prdfMfgThresholdFile_common.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/diag/prdf/common/mnfgtools/prdfMfgThresholdFile_common.C b/src/usr/diag/prdf/common/mnfgtools/prdfMfgThresholdFile_common.C index 3fbd418ea..b7e065668 100755 --- a/src/usr/diag/prdf/common/mnfgtools/prdfMfgThresholdFile_common.C +++ b/src/usr/diag/prdf/common/mnfgtools/prdfMfgThresholdFile_common.C @@ -40,10 +40,10 @@ namespace PRDF { -int MfgThresholdFileCommon::getThreshold(uint32_t i_thrName) +uint8_t MfgThresholdFileCommon::getThreshold(uint32_t i_thrName) { if (iv_thresholds.end() == iv_thresholds.find(i_thrName)) - return -1; + return INFINITE_LIMIT_THR; else return iv_thresholds[i_thrName]; } |