Fix macos compile issue

This commit is contained in:
Leonetienne
2022-05-25 14:57:40 +02:00
parent 9a9cd05bed
commit 3630243d8d
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ namespace Leonetienne::GCrypt {
// Pull the required amount of bits
std::stringstream ss;
for (std::size_t i = 0; i < sizeof(T)*8; i++) {
ss << GetBit() ? '1' : '0';
ss << (GetBit() ? '1' : '0');
}
// Transform to bytes