--- liblzf/lzf.h 2012/12/10 20:46:06 1.17 +++ liblzf/lzf.h 2012/12/10 21:34:33 1.18 @@ -91,7 +91,7 @@ * 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