archrelease: copy trunk to community-any
[ArchLinux/community.git] / ceph / trunk / fix_snappy_namespace_uint.patch
blobf68c402a791c6dae24c14d1dd92eaac49ce1248d
1 diff -upr a/src/compressor/snappy/SnappyCompressor.h b/src/compressor/snappy/SnappyCompressor.h
2 --- a/src/compressor/snappy/SnappyCompressor.h 2021-08-05 19:11:54.000000000 +0200
3 +++ b/src/compressor/snappy/SnappyCompressor.h 2021-09-01 17:38:35.488609568 +0200
4 @@ -96,7 +96,7 @@ class SnappyCompressor : public Compress
5 if (qat_enabled)
6 return qat_accel.decompress(p, compressed_len, dst);
7 #endif
8 - snappy::uint32 res_len = 0;
9 + std::uint32_t res_len = 0;
10 BufferlistSource source_1(p, compressed_len);
11 if (!snappy::GetUncompressedLength(&source_1, &res_len)) {
12 return -1;