aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/win
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/win')
-rw-r--r--src/utils/win/SkIStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/win/SkIStream.cpp b/src/utils/win/SkIStream.cpp
index 1d00611f79..7880fa0790 100644
--- a/src/utils/win/SkIStream.cpp
+++ b/src/utils/win/SkIStream.cpp
@@ -128,7 +128,7 @@ HRESULT SkIStream::CreateFromSkStream(SkStream* stream
// ISequentialStream Interface
HRESULT STDMETHODCALLTYPE SkIStream::Read(void* pv, ULONG cb, ULONG* pcbRead) {
- *pcbRead = this->fSkStream->read(pv, cb);
+ *pcbRead = static_cast<ULONG>(this->fSkStream->read(pv, cb));
this->fLocation.QuadPart += *pcbRead;
return (*pcbRead == cb) ? S_OK : S_FALSE;
}