aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-12 21:58:41 -0800
committerChris Robinson <[email protected]>2018-12-12 21:58:41 -0800
commit0d73b13f59e5df1bc87266e4ee3bced85a8dd5ef (patch)
tree20f5fbe04706b28e415dd21752a6fac484ca1890 /Alc/helpers.cpp
parentb779ebb512b840a325b32f258261c37bf36a1b7a (diff)
Add more casts for MSVC
Diffstat (limited to 'Alc/helpers.cpp')
-rw-r--r--Alc/helpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/helpers.cpp b/Alc/helpers.cpp
index a46e857f..17942855 100644
--- a/Alc/helpers.cpp
+++ b/Alc/helpers.cpp
@@ -316,7 +316,7 @@ PathNamePair GetProcBinary()
al::vector<WCHAR> fullpath(256);
DWORD len;
- while((len=GetModuleFileNameW(nullptr, fullpath.data(), fullpath.size())) == fullpath.size())
+ while((len=GetModuleFileNameW(nullptr, fullpath.data(), static_cast<DWORD>(fullpath.size()))) == fullpath.size())
fullpath.resize(fullpath.size() << 1);
if(len == 0)
{