diff options
author | Chris Robinson <[email protected]> | 2018-12-12 21:58:41 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-12 21:58:41 -0800 |
commit | 0d73b13f59e5df1bc87266e4ee3bced85a8dd5ef (patch) | |
tree | 20f5fbe04706b28e415dd21752a6fac484ca1890 /Alc/hrtf.cpp | |
parent | b779ebb512b840a325b32f258261c37bf36a1b7a (diff) |
Add more casts for MSVC
Diffstat (limited to 'Alc/hrtf.cpp')
-rw-r--r-- | Alc/hrtf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<size_t>(pos), egptr()); return pos; } |