aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/compression/bzip2
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-11 15:28:38 -0500
committerJack Lloyd <[email protected]>2016-12-18 16:48:24 -0500
commitf3cb3edb512bdcab498d825886c3366c341b3f78 (patch)
tree645c73ec295a5a34f25d99903b6d9fa9751e86d3 /src/lib/compression/bzip2
parentc1dd21253c1f3188ff45d3ad47698efd08235ae8 (diff)
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.
Diffstat (limited to 'src/lib/compression/bzip2')
-rw-r--r--src/lib/compression/bzip2/bzip2.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/compression/bzip2/bzip2.cpp b/src/lib/compression/bzip2/bzip2.cpp
index 1d1af7e29..4ebf572c9 100644
--- a/src/lib/compression/bzip2/bzip2.cpp
+++ b/src/lib/compression/bzip2/bzip2.cpp
@@ -28,9 +28,9 @@ class Bzip2_Stream : public Zlib_Style_Stream<bz_stream, char>
streamp()->bzfree = Compression_Alloc_Info::free;
}
- u32bit run_flag() const override { return BZ_RUN; }
- u32bit flush_flag() const override { return BZ_FLUSH; }
- u32bit finish_flag() const override { return BZ_FINISH; }
+ uint32_t run_flag() const override { return BZ_RUN; }
+ uint32_t flush_flag() const override { return BZ_FLUSH; }
+ uint32_t finish_flag() const override { return BZ_FINISH; }
};
class Bzip2_Compression_Stream : public Bzip2_Stream
@@ -59,7 +59,7 @@ class Bzip2_Compression_Stream : public Bzip2_Stream
BZ2_bzCompressEnd(streamp());
}
- bool run(u32bit flags) override
+ bool run(uint32_t flags) override
{
int rc = BZ2_bzCompress(streamp(), flags);
@@ -90,7 +90,7 @@ class Bzip2_Decompression_Stream : public Bzip2_Stream
BZ2_bzDecompressEnd(streamp());
}
- bool run(u32bit) override
+ bool run(uint32_t) override
{
int rc = BZ2_bzDecompress(streamp());