diff options
author | Thomas Otto <thomas.otto@pdv-fs.de> | 2020-03-10 21:52:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-10 21:52:45 +0100 |
commit | 2e7154e67a5dd56852dae29d4c418d4ddc07c230 (patch) | |
tree | 56a656284c61f100409b709e95da5e159ed47d65 | |
parent | 67e0b816fe17b521aae700de16467df0f51c064f (diff) | |
download | ccache-2e7154e67a5dd56852dae29d4c418d4ddc07c230.tar.gz ccache-2e7154e67a5dd56852dae29d4c418d4ddc07c230.tar.bz2 ccache-2e7154e67a5dd56852dae29d4c418d4ddc07c230.zip |
CacheEntryReader: Fix return type (#554)
-rw-r--r-- | src/CacheEntryReader.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CacheEntryReader.hpp b/src/CacheEntryReader.hpp index 88028161..1e3784fe 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; |