summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_ext.cpp
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-05-20 17:58:06 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-20 17:58:06 -0700
commit4cafdefd77e29c9d38ad99c266a60ce296137a35 (patch)
treefaf36bdb2e913944d02ecd1fb1933ade7a0adcd7 /fpdfsdk/fpdf_ext.cpp
parent8f5f897b50918fe83da894d9e7a34bbe314244de (diff)
downloadpdfium-4cafdefd77e29c9d38ad99c266a60ce296137a35.tar.xz
Return no style in GetItemStyles() for item of null pointer
The error handling in GetItemStyles() of list box is wrong. -1 is 0xFFFFFFFF in uint32_t, which suggests all the style bits on. This was discovered by a signed/unsigned mismatch warning. BUG=pdfium:29 Review-Url: https://codereview.chromium.org/2005583002
Diffstat (limited to 'fpdfsdk/fpdf_ext.cpp')
0 files changed, 0 insertions, 0 deletions