Fix conversion compiler warnings

Using a release build with GCC 14.2.0 and -Wextra -Wconversion -Wall.
The generated binaries are not changed by this commit.
This commit is contained in:
Urs Fleisch
2025-06-21 17:39:13 +02:00
parent 88d6b18b4f
commit 148cc9a921
25 changed files with 51 additions and 49 deletions

View File

@ -560,7 +560,7 @@ public:
// reverse
{
for(int i = 0; i < 256; i++){
all[i]=static_cast<unsigned char>(255)-i;
all[i]=static_cast<unsigned char>(255 - i);
}
ByteVector b64 = all.toBase64();
ByteVector original = ByteVector::fromBase64(b64);