diff --git a/icu4c/source/test/intltest/restest.cpp b/icu4c/source/test/intltest/restest.cpp index c54d314647..6a9d7cafac 100644 --- a/icu4c/source/test/intltest/restest.cpp +++ b/icu4c/source/test/intltest/restest.cpp @@ -144,7 +144,7 @@ randul() double randd() { - return ((double)randul()) / UINT32_MAX; + return (double)(randul() / UINT32_MAX); } /**