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 4a80c7e5..88c222bf 100644 --- a/Alc/helpers.cpp +++ b/Alc/helpers.cpp @@ -531,7 +531,7 @@ const PathNamePair &GetProcBinary() len = readlink(selfname, pathname.data(), pathname.size()); } - while(len > 0 && (size_t)len == pathname.size()) + while(len > 0 && static_cast<size_t>(len) == pathname.size()) { pathname.resize(pathname.size() << 1); len = readlink(selfname, pathname.data(), pathname.size()); |