diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2011-04-08 17:53:05 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2011-04-08 17:53:05 +0300 |
commit | 9edd6ee895fbe71d245a173f48e511f154a99875 (patch) | |
tree | 6ba67cd3857ce0c87e9cef0623e6d93504331f27 /src | |
parent | xz: Fix a typo in a comment. (diff) | |
download | xz-9edd6ee895fbe71d245a173f48e511f154a99875.tar.xz |
xz: Change size_t to uint32_t in a few places.
Diffstat (limited to 'src')
-rw-r--r-- | src/xz/coder.c | 6 | ||||
-rw-r--r-- | src/xz/coder.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/xz/coder.c b/src/xz/coder.c index 031cee22..edf55cfb 100644 --- a/src/xz/coder.c +++ b/src/xz/coder.c @@ -39,10 +39,10 @@ static io_buf in_buf; static io_buf out_buf; /// Number of filters. Zero indicates that we are using a preset. -static size_t filters_count = 0; +static uint32_t filters_count = 0; /// Number of the preset (0-9) -static size_t preset_number = 6; +static uint32_t preset_number = 6; /// If a preset is used (no custom filter chain) and preset_extreme is true, /// a significantly slower compression is used to achieve slightly better @@ -66,7 +66,7 @@ coder_set_check(lzma_check new_check) extern void -coder_set_preset(size_t new_preset) +coder_set_preset(uint32_t new_preset) { preset_number = new_preset; diff --git a/src/xz/coder.h b/src/xz/coder.h index 35000438..578d2d7e 100644 --- a/src/xz/coder.h +++ b/src/xz/coder.h @@ -52,7 +52,7 @@ extern uint64_t opt_block_size; extern void coder_set_check(lzma_check check); /// Set preset number -extern void coder_set_preset(size_t new_preset); +extern void coder_set_preset(uint32_t new_preset); /// Enable extreme mode extern void coder_set_extreme(void); |