]> granicus.if.org Git - xz/commitdiff
Fix wrong return type (uint32_t -> bool).
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 24 Apr 2008 15:39:57 +0000 (18:39 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 24 Apr 2008 15:39:57 +0000 (18:39 +0300)
src/liblzma/lz/lz_encoder.c
src/liblzma/lz/lz_encoder.h

index 488095ca5801b8a7490e5a68ad0d4b3fe5c71a2b..fd1be9a7126db366d642d1eb286033927ee5a9e5 100644 (file)
@@ -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)
index 1e47af2d3b42cee1bdda027a486e4ab6355bd00c..b13e4b833c9f001bfb03dcb951ddef3df2106662 100644 (file)
@@ -132,7 +132,7 @@ struct lzma_lz_encoder_s {
 
 
 /// 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 *restrict hash_size_sum,
                uint32_t *restrict num_items);