Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nemequ/liblzf.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Lehmann <schmorpforge@schmorp.de>2012-12-11 01:34:33 +0400
committerMarc Lehmann <schmorpforge@schmorp.de>2012-12-11 01:34:33 +0400
commitd55467f0b62974603fb9c9014ab7d20192936208 (patch)
treef0162c98cefa6c6ed63f4dac821a9a9ad9d867df
parent4b7485b0b2f1c39a510225ad79c3c41dc4c9595d (diff)
*** empty log message ***
-rw-r--r--lzf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lzf.h b/lzf.h
index 0f51499..6e553ae 100644
--- a/lzf.h
+++ b/lzf.h
@@ -91,7 +91,7 @@ lzf_compress (const void *const in_data, unsigned int in_len,
* guaranteeed to be big enough.
* This macro can be used at preprocessing time.
*/
-#define LZF_MAX_COMPRESSED_SIZE(n) ((n) * 33 / 32 + 1)
+#define LZF_MAX_COMPRESSED_SIZE(n) ((((n) * 33) >> 5 ) + 1)
/*
* Decompress data compressed with some version of the lzf_compress