diff options
author | Bob Arnson <bob@firegiant.com> | 2020-11-13 21:21:33 -0500 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2020-12-26 22:08:07 -0500 |
commit | 6554b42e999c8ff2cf20361a7dd7ec500723ec71 (patch) | |
tree | 00a34f1466164bd2ddac16b08283727d4c6554e7 /src/dutil/xmlutil.cpp | |
parent | d5925b2bd8e71933cb88a0d17298088260b5b7db (diff) | |
download | wix-6554b42e999c8ff2cf20361a7dd7ec500723ec71.tar.gz wix-6554b42e999c8ff2cf20361a7dd7ec500723ec71.tar.bz2 wix-6554b42e999c8ff2cf20361a7dd7ec500723ec71.zip |
Clean up 32-bit ass-u-mptions for x64 and arm64.
Diffstat (limited to 'src/dutil/xmlutil.cpp')
-rw-r--r-- | src/dutil/xmlutil.cpp | 4 |
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 | *********************************************************************/ |
417 | extern "C" HRESULT DAPI XmlLoadDocumentFromBuffer( | 417 | extern "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 | ||