From f3cb3edb512bdcab498d825886c3366c341b3f78 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 11 Dec 2016 15:28:38 -0500 Subject: Convert to using standard uintN_t integer types Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them. --- src/lib/compression/zlib/zlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/compression/zlib/zlib.h') diff --git a/src/lib/compression/zlib/zlib.h b/src/lib/compression/zlib/zlib.h index 0cedb1eab..a2cae34f4 100644 --- a/src/lib/compression/zlib/zlib.h +++ b/src/lib/compression/zlib/zlib.h @@ -63,12 +63,12 @@ class BOTAN_DLL Deflate_Decompression final : public Stream_Decompression class BOTAN_DLL Gzip_Compression final : public Stream_Compression { public: - Gzip_Compression(byte os_code = 255) : m_os_code(os_code) {} + Gzip_Compression(uint8_t os_code = 255) : m_os_code(os_code) {} std::string name() const override { return "Gzip_Compression"; } private: Compression_Stream* make_stream(size_t level) const override; - const byte m_os_code; + const uint8_t m_os_code; }; /** -- cgit v1.2.3