summaryrefslogtreecommitdiffstats
path: root/src/streaming/compression.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/streaming/compression.h (renamed from streaming/compression.h)2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/compression.h b/src/streaming/compression.h
index a67f65b83..285fb2cf6 100644
--- a/streaming/compression.h
+++ b/src/streaming/compression.h
@@ -13,7 +13,7 @@
typedef uint32_t rrdpush_signature_t;
#define RRDPUSH_COMPRESSION_SIGNATURE ((rrdpush_signature_t)('z' | 0x80) | (0x80 << 8) | (0x80 << 16) | ('\n' << 24))
-#define RRDPUSH_COMPRESSION_SIGNATURE_MASK ((rrdpush_signature_t)0xff | (0x80 << 8) | (0x80 << 16) | (0xff << 24))
+#define RRDPUSH_COMPRESSION_SIGNATURE_MASK ((rrdpush_signature_t) 0xffU | (0x80U << 8) | (0x80U << 16) | (0xffU << 24))
#define RRDPUSH_COMPRESSION_SIGNATURE_SIZE sizeof(rrdpush_signature_t)
static inline rrdpush_signature_t rrdpush_compress_encode_signature(size_t compressed_data_size) {