summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_sysfontinfo.cpp
diff options
context:
space:
mode:
authoragoode <agoode@chromium.org>2016-07-07 00:38:31 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-07 00:38:31 -0700
commitc9a0ec50d813d13498830c05d60d01360729a156 (patch)
treeac2d673ddf7bb11e5da42bb1766db525d7270a9a /fpdfsdk/fpdf_sysfontinfo.cpp
parent44105d862bfcaf9fce0ee0dfe283337bf5980337 (diff)
downloadpdfium-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/fpdf_sysfontinfo.cpp')
0 files changed, 0 insertions, 0 deletions