From 135ee93c2c99665a88cda1dc6d779963bb5e38ae Mon Sep 17 00:00:00 2001 From: yarreg Date: Fri, 18 Oct 2019 02:51:41 +0300 Subject: [PATCH] Type casting fix (#951) --- src/TopicTreeDraft.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]++;