Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1710339
| From | Michael Sartain <mikesart@fastmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/5] trace-cmd: Add ULL suffix to MISSING_EVENTS since ints shouldn't be left shifted by 31 |
| Date | 2017-08-12 19:50 +0200 |
| Message-ID | <udIHU-3VV-9@gated-at.bofh.it> (permalink) |
| References | <udIye-3S9-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Signed-off-by: Michael Sartain <mikesart@fastmail.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
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/5] trace-cmd: Fixes for four small bugs plus minor cleanup Michael Sartain <mikesart@fastmail.com> - 2017-08-12 19:40 +0200 [PATCH 1/5] trace-cmd: Fix incorrect malloc size arg: *item instead of item Michael Sartain <mikesart@fastmail.com> - 2017-08-12 19:50 +0200 [PATCH 3/5] trace-cmd: Add ULL suffix to MISSING_EVENTS since ints shouldn't be left shifted by 31 Michael Sartain <mikesart@fastmail.com> - 2017-08-12 19:50 +0200 [PATCH 4/5] trace-cmd: Use unsigned values in Hsieh's trace_hash fast hash function Michael Sartain <mikesart@fastmail.com> - 2017-08-12 19:50 +0200
csiph-web