mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-29 16:58:07 +00:00
a0ffa15885
Also use uint32 for bool-bitfields, otherwise:
int a : 1 = 0;
...
const auto test = true;
const auto b = test ? 1 : 0;
if (a != b) {
a = b;
...
}
Assert(a == b); // Violation, because a == -1, not 1 (after a = b).