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/hrtf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/hrtf.cpp') diff --git a/Alc/hrtf.cpp b/Alc/hrtf.cpp index 230574a9..5cc1e8b4 100644 --- a/Alc/hrtf.cpp +++ b/Alc/hrtf.cpp @@ -133,7 +133,7 @@ class databuf final : public std::streambuf { if(pos < 0 || pos > egptr()-eback()) return traits_type::eof(); - setg(eback(), eback() + pos, egptr()); + setg(eback(), eback() + static_cast(pos), egptr()); return pos; } -- cgit v1.2.3