diff options
author | agoode <agoode@chromium.org> | 2016-07-07 00:38:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-07 00:38:31 -0700 |
commit | c9a0ec50d813d13498830c05d60d01360729a156 (patch) | |
tree | ac2d673ddf7bb11e5da42bb1766db525d7270a9a /fpdfsdk/javascript/event.cpp | |
parent | 44105d862bfcaf9fce0ee0dfe283337bf5980337 (diff) | |
download | pdfium-c9a0ec50d813d13498830c05d60d01360729a156.tar.xz |
Fix compilation with strict format checking
abs() is bit tricky in C++ and this use of abs is returning double.
FXSYS_snprintf is strictly checking this on Fedora 24 and
results in:
../../third_party/pdfium/fpdfsdk/fsdk_baseannot.cpp:309:18: error:
format specifies type 'int' but the argument has type
'typename __gnu_cxx::__enable_if<__is_integer<signed char>::__value, double>::__type'
(aka 'double') [-Werror,-Wformat]
Review-Url: https://codereview.chromium.org/2124083002
Diffstat (limited to 'fpdfsdk/javascript/event.cpp')
0 files changed, 0 insertions, 0 deletions