[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170812173047.840-4-mikesart@fastmail.com>
Date: Sat, 12 Aug 2017 11:30:45 -0600
From: Michael Sartain <mikesart@...tmail.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Michael Sartain <mikesart@...tmail.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH 3/5] trace-cmd: Add ULL suffix to MISSING_EVENTS since ints shouldn't be left shifted by 31
Signed-off-by: Michael Sartain <mikesart@...tmail.com>
---
kbuffer-parse.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kbuffer-parse.c b/kbuffer-parse.c
index 4e6e95e..dde642c 100644
--- a/kbuffer-parse.c
+++ b/kbuffer-parse.c
@@ -24,8 +24,8 @@
#include "kbuffer.h"
-#define MISSING_EVENTS (1 << 31)
-#define MISSING_STORED (1 << 30)
+#define MISSING_EVENTS (1ULL << 31)
+#define MISSING_STORED (1ULL << 30)
#define COMMIT_MASK ((1 << 27) - 1)
--
2.13.2
Powered by blists - more mailing lists