FPDF_FORMFILLINFO::FFI_GetPageViewRect (and other functions declared in
fpdfformfill.h) use double. This forces FFI_GetPageViewRect to use double,
which then forces casts to float in order to suppress truncation warnings.
One type should be used consistently (presumably float) and the casts should be
removed.
See change https://codereview.chromium.org/834413002/ which added the casts in
order to suppress warnings.
Original issue reported on code.google.com by brucedaw...@chromium.org on 8 Jan 2015 at 7:07
Original issue reported on code.google.com by
brucedaw...@chromium.org
on 8 Jan 2015 at 7:07