summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/qa/rtl/random/rtl_random.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/qa/rtl/random/rtl_random.cxx b/sal/qa/rtl/random/rtl_random.cxx
index e3a70e45291e..c91bb54ee9f6 100644
--- a/sal/qa/rtl/random/rtl_random.cxx
+++ b/sal/qa/rtl/random/rtl_random.cxx
@@ -198,9 +198,8 @@ public:
}
~Statistics(){}
- void addValue(sal_Int16 _nIndex, sal_Int32 _nValue)
+ void addValue(sal_uInt8 _nIndex, sal_Int32 _nValue)
{
- OSL_ASSERT(_nIndex >= 0 && _nIndex < 256);
m_nDispensation[_nIndex] += _nValue;
}