aboutsummaryrefslogtreecommitdiff
path: root/src/dutil/xmlutil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dutil/xmlutil.cpp')
-rw-r--r--src/dutil/xmlutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dutil/xmlutil.cpp b/src/dutil/xmlutil.cpp
index 6ecd2449..0f1e611d 100644
--- a/src/dutil/xmlutil.cpp
+++ b/src/dutil/xmlutil.cpp
@@ -1305,7 +1305,7 @@ extern "C" HRESULT DAPI XmlSaveDocumentToBuffer(
1305 XmlExitOnFailure(hr, "Failed to get stream size."); 1305 XmlExitOnFailure(hr, "Failed to get stream size.");
1306 1306
1307 // allocate buffer 1307 // allocate buffer
1308 pbDest = static_cast<BYTE*>(MemAlloc((SIZE_T)statstg.cbSize.LowPart, TRUE)); 1308 pbDest = static_cast<BYTE*>(MemAlloc(statstg.cbSize.LowPart, TRUE));
1309 XmlExitOnNull(pbDest, hr, E_OUTOFMEMORY, "Failed to allocate destination buffer."); 1309 XmlExitOnNull(pbDest, hr, E_OUTOFMEMORY, "Failed to allocate destination buffer.");
1310 1310
1311 // read data from stream 1311 // read data from stream