diff options
author | Filip Gawin <[email protected]> | 2019-01-08 19:42:44 +0100 |
---|---|---|
committer | Filip Gawin <[email protected]> | 2019-01-08 19:42:44 +0100 |
commit | 0d3a0635d946ab1f43fd98cec4882248bc990846 (patch) | |
tree | f9cade218fe90b815bf1b529607fadd7bfa0f656 /Alc/helpers.cpp | |
parent | 2a7f27ca58f9897be06fe815a46ea76a01734a0b (diff) |
Avoid using old style casts
To think about:
examples/alffplay.cpp:600
OpenAL32/Include/alMain.h:295
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()); |