diff --git a/include/transport/buddy.h b/include/transport/buddy.h index ec7c9e930bb6ab4fc26dd7674ff7d4a3b6971247..d2d264b313a3c8ad34a5248a40ce920ce3ccbc1d 100644 --- a/include/transport/buddy.h +++ b/include/transport/buddy.h @@ -87,7 +87,7 @@ class Buddy { } bool isBlocked() { - return m_flags & BUDDY_BLOCKED; + return (m_flags & BUDDY_BLOCKED) != 0; } /// Sets current subscription.