Kaydet (Commit) e61c2222 authored tarafından Michael Stahl's avatar Michael Stahl

warning C4267: conversion from 'size_t' to 'DWORD'

Change-Id: Idd467f2963099e2ae6bb76f405124dfa32c8cc9a
üst 95889851
......@@ -341,7 +341,7 @@ SCODE STDMETHODCALLTYPE COooFilter::GetChunk(STAT_CHUNK * pStat)
continue;
}
m_pwsBuffer = m_pContentReader -> getChunkBuffer()[m_ChunkPosition].second;
m_ulUnicodeBufferLen = m_pwsBuffer.length();
m_ulUnicodeBufferLen = static_cast<ULONG>(m_pwsBuffer.length());
DWORD ChunkLCID = LocaleSetToLCID( m_pContentReader -> getChunkBuffer()[m_ChunkPosition].first );
// Set chunk description
pStat->idChunk = m_ulChunkID;
......@@ -1241,7 +1241,7 @@ namespace /* private */
0,
REG_MULTI_SZ,
reinterpret_cast<const BYTE*>(DllsToRegisterList),
DllList.length() + 2);
static_cast<DWORD>(DllList.length() + 2));
RegCloseKey(hSubKey);
}
......
......@@ -247,7 +247,7 @@ HRESULT STDMETHODCALLTYPE StreamOnZipBuffer::Stat(STATSTG *pstatstg, DWORD grfSt
pstatstg->type = STGTY_LOCKBYTES;
ULARGE_INTEGER uli;
uli.LowPart = ref_zip_buffer_.size();
uli.LowPart = static_cast<DWORD>(ref_zip_buffer_.size());
uli.HighPart = 0;
pstatstg->cbSize = uli;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment