View | Details | Raw Unified | Return to bug 255763 | Differences between
and this patch

Collapse All | Expand All

(-)src/compressor/snappy/SnappyCompressor.h (-1 / +1 lines)
Lines 96-102 class SnappyCompressor : public Compressor { Link Here
96
    if (qat_enabled)
96
    if (qat_enabled)
97
      return qat_accel.decompress(p, compressed_len, dst);
97
      return qat_accel.decompress(p, compressed_len, dst);
98
#endif
98
#endif
99
    snappy::uint32 res_len = 0;
99
    std::uint32_t res_len = 0;
100
    BufferlistSource source_1(p, compressed_len);
100
    BufferlistSource source_1(p, compressed_len);
101
    if (!snappy::GetUncompressedLength(&source_1, &res_len)) {
101
    if (!snappy::GetUncompressedLength(&source_1, &res_len)) {
102
      return -1;
102
      return -1;

Return to bug 255763