summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-src/source/test/intltest/nmfmtrt.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu/icu-src/source/test/intltest/nmfmtrt.h')
-rw-r--r--Build/source/libs/icu/icu-src/source/test/intltest/nmfmtrt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/libs/icu/icu-src/source/test/intltest/nmfmtrt.h b/Build/source/libs/icu/icu-src/source/test/intltest/nmfmtrt.h
index 0f7e17f059b..add908a2193 100644
--- a/Build/source/libs/icu/icu-src/source/test/intltest/nmfmtrt.h
+++ b/Build/source/libs/icu/icu-src/source/test/intltest/nmfmtrt.h
@@ -65,7 +65,7 @@ public:
**/
static double randFraction()
{
- return (double)randLong() / (double)0xFFFFFFFF;
+ return static_cast<double>(randLong()) / static_cast<double>(0xFFFFFFFF);
}
protected: