aboutsummaryrefslogtreecommitdiff
path: root/src/dutil/xmlutil.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/dutil/xmlutil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dutil/xmlutil.cpp b/src/dutil/xmlutil.cpp
index e07c205d..f97ca962 100644
--- a/src/dutil/xmlutil.cpp
+++ b/src/dutil/xmlutil.cpp
@@ -416,7 +416,7 @@ LExit:
416*********************************************************************/ 416*********************************************************************/
417extern "C" HRESULT DAPI XmlLoadDocumentFromBuffer( 417extern "C" HRESULT DAPI XmlLoadDocumentFromBuffer(
418 __in_bcount(cbSource) const BYTE* pbSource, 418 __in_bcount(cbSource) const BYTE* pbSource,
419 __in DWORD cbSource, 419 __in SIZE_T cbSource,
420 __out IXMLDOMDocument** ppixdDocument 420 __out IXMLDOMDocument** ppixdDocument
421 ) 421 )
422{ 422{
@@ -447,7 +447,7 @@ extern "C" HRESULT DAPI XmlLoadDocumentFromBuffer(
447 sa.fFeatures = FADF_STATIC | FADF_FIXEDSIZE; 447 sa.fFeatures = FADF_STATIC | FADF_FIXEDSIZE;
448 sa.cbElements = 1; 448 sa.cbElements = 1;
449 sa.pvData = (PVOID)pbSource; 449 sa.pvData = (PVOID)pbSource;
450 sa.rgsabound[0].cElements = cbSource; 450 sa.rgsabound[0].cElements = (ULONG)cbSource;
451 vtXmlSource.vt = VT_ARRAY | VT_UI1; 451 vtXmlSource.vt = VT_ARRAY | VT_UI1;
452 vtXmlSource.parray = &sa; 452 vtXmlSource.parray = &sa;
453 453