diff options
Diffstat (limited to 'alc/helpers.cpp')
-rw-r--r-- | alc/helpers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/helpers.cpp b/alc/helpers.cpp index ba95c0f8..84787637 100644 --- a/alc/helpers.cpp +++ b/alc/helpers.cpp @@ -255,7 +255,7 @@ auto filebuf::underflow() -> int_type { // Read in the next chunk of data, and set the pointers on success DWORD got{}; - if(ReadFile(mFile, mBuffer.data(), (DWORD)mBuffer.size(), &got, nullptr)) + if(ReadFile(mFile, mBuffer.data(), static_cast<DWORD>(mBuffer.size()), &got, nullptr)) setg(mBuffer.data(), mBuffer.data(), mBuffer.data()+got); } if(gptr() == egptr()) |