platform_hardware_interfaces/graphics
Nick Desaulniers daedbd7e47 [hardware][interfaces][graphics] fix -Wimplicit-int-float-conversion
IEEE 754 single precision cannot precisely represent the value of large
32b integrals. Accept the imprecision from implicit casts by making the
casts explicit.

One case is comparing the value before and after converting a float to
an int32_t and back, the other is used when printing a value.

Bug: 139945549
Test: mm
Change-Id: I23375d73cd16be0741defc6395046bd3b22d1335
Merged-in: Id30edce2cd29c0f9c24cd52ba5fb33f7c56a3100
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2019-11-05 14:54:06 -08:00
..
allocator Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
bufferqueue Update hidl makefiles for bpfmt 2019-04-18 18:13:05 -07:00
common Update hidl makefiles for bpfmt 2019-04-18 18:13:05 -07:00
composer [hardware][interfaces][graphics] fix -Wimplicit-int-float-conversion 2019-11-05 14:54:06 -08:00
mapper Merge "Refine freeBuffer in Mapper 2.0" 2019-10-08 23:17:06 +00:00