Index: xfa/fxfa/parser/cxfa_node.cpp |
diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp |
index 9c209b23b75a2f5332af0a89a9d9fd9a801e1c74..402ab0e37ed6f5509ff8b1c034b8060cef60741e 100644 |
--- a/xfa/fxfa/parser/cxfa_node.cpp |
+++ b/xfa/fxfa/parser/cxfa_node.cpp |
@@ -3811,7 +3811,7 @@ FX_BOOL CXFA_Node::TryBoolean(XFA_ATTRIBUTE eAttr, |
void* pValue = nullptr; |
if (!GetValue(eAttr, XFA_ATTRIBUTETYPE_Boolean, bUseDefault, pValue)) |
return FALSE; |
- bValue = (FX_BOOL)(uintptr_t)pValue; |
+ bValue = !!pValue; |
return TRUE; |
} |