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 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) { |