aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/hrtf.cpp')
-rw-r--r--Alc/hrtf.cpp2
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;
}