mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Fix wrong return type (uint32_t -> bool).
This commit is contained in:
parent
712cfe3ebf
commit
6c5306e312
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@
|
||||||
/// Calculate certain match finder properties and validate the calculated
|
/// Calculate certain match finder properties and validate the calculated
|
||||||
/// values. This is as its own function, because *num_items is needed to
|
/// values. This is as its own function, because *num_items is needed to
|
||||||
/// calculate memory requirements in common/memory.c.
|
/// calculate memory requirements in common/memory.c.
|
||||||
extern uint32_t
|
extern bool
|
||||||
lzma_lz_encoder_hash_properties(lzma_match_finder match_finder,
|
lzma_lz_encoder_hash_properties(lzma_match_finder match_finder,
|
||||||
uint32_t history_size, uint32_t *restrict hash_mask,
|
uint32_t history_size, uint32_t *restrict hash_mask,
|
||||||
uint32_t *restrict hash_size_sum, uint32_t *restrict num_items)
|
uint32_t *restrict hash_size_sum, uint32_t *restrict num_items)
|
||||||
|
|
|
@ -132,7 +132,7 @@ struct lzma_lz_encoder_s {
|
||||||
|
|
||||||
|
|
||||||
/// Calculates
|
/// Calculates
|
||||||
extern uint32_t lzma_lz_encoder_hash_properties(lzma_match_finder match_finder,
|
extern bool lzma_lz_encoder_hash_properties(lzma_match_finder match_finder,
|
||||||
uint32_t history_size, uint32_t *restrict hash_mask,
|
uint32_t history_size, uint32_t *restrict hash_mask,
|
||||||
uint32_t *restrict hash_size_sum,
|
uint32_t *restrict hash_size_sum,
|
||||||
uint32_t *restrict num_items);
|
uint32_t *restrict num_items);
|
||||||
|
|
Loading…
Reference in a new issue