diff --git a/src/TopicTreeDraft.h b/src/TopicTreeDraft.h index 9e5af6a..d13d0ac 100644 --- a/src/TopicTreeDraft.h +++ b/src/TopicTreeDraft.h @@ -345,7 +345,7 @@ public: if ((it[i] != end[i]) && (*it[i] == min)) { /* Mark this intersection */ - intersection |= (1 << i); + intersection |= ((uint64_t)1 << i); perSubscriberIntersectingTopicMessages[numPerSubscriberIntersectingTopicMessages++] = &triggeredTopics[i]->messages; it[i]++;