aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/ceph-fix-snappy-breaking-change.patch
blob: 7a10e2e4aea08512abbd764c73f4662deee60b7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Patch tracked upstream at https://tracker.ceph.com/issues/50934

--- a/src/compressor/snappy/SnappyCompressor.h
+++ b/src/compressor/snappy/SnappyCompressor.h
@@ -96,7 +96,7 @@ class SnappyCompressor : public Compressor {
     if (qat_enabled)
       return qat_accel.decompress(p, compressed_len, dst);
 #endif
-    snappy::uint32 res_len = 0;
+    uint32_t res_len = 0;
     BufferlistSource source_1(p, compressed_len);
     if (!snappy::GetUncompressedLength(&source_1, &res_len)) {
       return -1;