Files
frameworks_base/cmds
Nick Desaulniers 58664e8a7c [frameworks][base][statsd] fix -Wimplicit-int-float-conversion
RAND_MAX cannot be precisely represented in an IEEE 754 single precision
float.  For the purpose of generating a random number, the imprecision
is irrelevant. Fix the warning with an explicit cast.

Bug: 139945549
Test: mm
Change-Id: Ica60b410bbbca0b3807f985e302abb0775133877
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2019-10-10 13:09:42 -07:00
..