From 478ed62770e0dc0fe2d859e73496fa8c7f854694 Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 27 Oct 2016 14:32:33 -0700 Subject: Fix some FX_BOOL / int noise in fxfa Review-Url: https://codereview.chromium.org/2457673003 --- xfa/fxfa/parser/cxfa_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fxfa/parser') diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp index 9c209b23b7..402ab0e37e 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; } -- cgit v1.2.3