Index: xfa/fde/xml/fde_xml_imp.cpp |
diff --git a/xfa/fde/xml/fde_xml_imp.cpp b/xfa/fde/xml/fde_xml_imp.cpp |
index 2bdaf5155fa9ac5c5147d2f49fdf02c711a60cd0..5adaa5c86fc310aca303295e4659cccf6c50e2c7 100644 |
--- a/xfa/fde/xml/fde_xml_imp.cpp |
+++ b/xfa/fde/xml/fde_xml_imp.cpp |
@@ -1314,7 +1314,7 @@ void CFDE_XMLSyntaxParser::Init(const CFX_RetainPtr<IFGAS_Stream>& pStream, |
return; |
} |
- m_pBuffer = FX_Alloc(FX_WCHAR, alloc_size_safe.ValueOrDie()); |
+ m_pBuffer = FX_Alloc(FX_WCHAR, alloc_size_safe.ValueOrDie<size_t>()); |
m_pStart = m_pEnd = m_pBuffer; |
ASSERT(!m_BlockBuffer.IsInitialized()); |
m_BlockBuffer.InitBuffer(); |