diff --git a/src/main.h b/src/main.h index a204117097..3afe3e45a5 100644 --- a/src/main.h +++ b/src/main.h @@ -630,7 +630,7 @@ class CBlockIndex { if (nEntropyBit > 1) return false; - nFlags |= (nEntropyBit? BLOCK_STAKE_ENTROPY : 0); + nFlags |= (nEntropyBit ? BLOCK_STAKE_ENTROPY : (uint32_t) 0); return true; }