]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
CacheEntryReader: Fix return type (#554)
authorThomas Otto <thomas.otto@pdv-fs.de>
Tue, 10 Mar 2020 20:52:45 +0000 (21:52 +0100)
committerGitHub <noreply@github.com>
Tue, 10 Mar 2020 20:52:45 +0000 (21:52 +0100)
src/CacheEntryReader.hpp

index 880281617a457915fe9cb9a856b1e2b14709217d..1e3784fe639e916d7ba162f912de9a230aaeb501 100644 (file)
@@ -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;