From: Thomas Otto Date: Tue, 10 Mar 2020 20:52:45 +0000 (+0100) Subject: CacheEntryReader: Fix return type (#554) X-Git-Tag: v4.0~570 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e7154e67a5dd56852dae29d4c418d4ddc07c230;p=thirdparty%2Fccache.git CacheEntryReader: Fix return type (#554) --- diff --git a/src/CacheEntryReader.hpp b/src/CacheEntryReader.hpp index 880281617..1e3784fe6 100644 --- a/src/CacheEntryReader.hpp +++ b/src/CacheEntryReader.hpp @@ -85,7 +85,7 @@ public: Compression::Type compression_type() const; // Get compression level. - uint64_t compression_level() const; + int8_t compression_level() const; // Get size of the content (header + payload + checksum). uint64_t content_size() const; @@ -127,7 +127,7 @@ CacheEntryReader::compression_type() const return m_compression_type; } -inline uint64_t +inline int8_t CacheEntryReader::compression_level() const { return m_compression_level;