From 0d73b13f59e5df1bc87266e4ee3bced85a8dd5ef Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 12 Dec 2018 21:58:41 -0800 Subject: Add more casts for MSVC --- Alc/helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/helpers.cpp') 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 fullpath(256); DWORD len; - while((len=GetModuleFileNameW(nullptr, fullpath.data(), fullpath.size())) == fullpath.size()) + while((len=GetModuleFileNameW(nullptr, fullpath.data(), static_cast(fullpath.size()))) == fullpath.size()) fullpath.resize(fullpath.size() << 1); if(len == 0) { -- cgit v1.2.3