xz: Change size_t to uint32_t in a few places.

This commit is contained in:
Lasse Collin 2011-04-08 17:53:05 +03:00
parent 32be621f52
commit b065984e5a
2 changed files with 4 additions and 4 deletions

View File

@ -37,10 +37,10 @@ static io_buf in_buf;
static io_buf out_buf; static io_buf out_buf;
/// Number of filters. Zero indicates that we are using a preset. /// 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) /// 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, /// If a preset is used (no custom filter chain) and preset_extreme is true,
/// a significantly slower compression is used to achieve slightly better /// a significantly slower compression is used to achieve slightly better
@ -64,7 +64,7 @@ coder_set_check(lzma_check new_check)
extern void extern void
coder_set_preset(size_t new_preset) coder_set_preset(uint32_t new_preset)
{ {
preset_number = new_preset; preset_number = new_preset;

View File

@ -46,7 +46,7 @@ extern bool opt_auto_adjust;
extern void coder_set_check(lzma_check check); extern void coder_set_check(lzma_check check);
/// Set preset number /// Set preset number
extern void coder_set_preset(size_t new_preset); extern void coder_set_preset(uint32_t new_preset);
/// Enable extreme mode /// Enable extreme mode
extern void coder_set_extreme(void); extern void coder_set_extreme(void);