diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-04-24 18:39:57 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-04-24 18:39:57 +0300 |
commit | 6c5306e312bcfd254cf654f88c04e34ba786df3d (patch) | |
tree | 9ed33e5037e03a609f57f8546ad35fc091e2ab7d /src/liblzma/lz/lz_encoder.c | |
parent | Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH. (diff) | |
download | xz-6c5306e312bcfd254cf654f88c04e34ba786df3d.tar.xz |
Fix wrong return type (uint32_t -> bool).
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/lz/lz_encoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/lz/lz_encoder.c b/src/liblzma/lz/lz_encoder.c index 488095ca..fd1be9a7 100644 --- a/src/liblzma/lz/lz_encoder.c +++ b/src/liblzma/lz/lz_encoder.c @@ -47,7 +47,7 @@ /// Calculate certain match finder properties and validate the calculated /// values. This is as its own function, because *num_items is needed to /// calculate memory requirements in common/memory.c. -extern uint32_t +extern bool lzma_lz_encoder_hash_properties(lzma_match_finder match_finder, uint32_t history_size, uint32_t *restrict hash_mask, uint32_t *restrict hash_size_sum, uint32_t *restrict num_items) |