summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_widgetdata.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-10-27 15:58:25 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-27 15:58:25 -0700
commita103b1a74a388a285191ba4826ea8e60706df59d (patch)
treef41a82f0289915d6e19bff3acaef938a7d80fde6 /xfa/fxfa/parser/cxfa_widgetdata.cpp
parent169e0ae9da6e87e89417ff9f3e4f637979f4c986 (diff)
downloadpdfium-a103b1a74a388a285191ba4826ea8e60706df59d.tar.xz
Fix more FX_BOOL / int noise in fxfa/parser.
Review-Url: https://codereview.chromium.org/2460723002
Diffstat (limited to 'xfa/fxfa/parser/cxfa_widgetdata.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_widgetdata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_widgetdata.cpp b/xfa/fxfa/parser/cxfa_widgetdata.cpp
index ce07faf60f..f237ad0a00 100644
--- a/xfa/fxfa/parser/cxfa_widgetdata.cpp
+++ b/xfa/fxfa/parser/cxfa_widgetdata.cpp
@@ -235,7 +235,7 @@ FX_BOOL GetAttributeDefaultValue_Boolean(XFA_Element eElement,
void* pValue;
if (XFA_GetAttributeDefaultValue(pValue, eElement, eAttribute,
XFA_ATTRIBUTETYPE_Boolean, dwPacket)) {
- return (FX_BOOL)(uintptr_t)pValue;
+ return !!pValue;
}
return FALSE;
}