Fix cast warnings with MSVC

This commit is contained in:
Jonas Kvinge
2025-03-25 00:37:07 +01:00
parent d5281abb22
commit 5e031be42c
59 changed files with 207 additions and 207 deletions

View File

@@ -248,7 +248,7 @@ QString QobuzService::DecodeAppSecret(const QString &app_secret_base64) const {
for (int x = 0, y = 0; x < app_secret_binary.length(); ++x , ++y) {
if (y == appid.length()) y = 0;
const uint rc = app_secret_binary[x] ^ appid[y];
const uint rc = static_cast<uint>(app_secret_binary[x] ^ appid[y]);
if (rc > 0xFFFF) {
return app_secret_base64;
}