summaryrefslogtreecommitdiff
path: root/sal/rtl/random.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/rtl/random.cxx')
-rw-r--r--sal/rtl/random.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/random.cxx b/sal/rtl/random.cxx
index 3168c9686e28..360ade3b7873 100644
--- a/sal/rtl/random.cxx
+++ b/sal/rtl/random.cxx
@@ -101,7 +101,7 @@ static double data (RandomData_Impl *pImpl)
((double)(pImpl->m_nY) / 30269.0) +
((double)(pImpl->m_nZ) / 30307.0) );
- random -= ((double)((sal_uInt32)(random)));
+ random -= ((double)((sal_uInt32)random));
return random;
}