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>2010-06-01 11:37:17 +0400
committerMarc Lehmann <schmorpforge@schmorp.de>2010-06-01 11:37:17 +0400
commit552af0a361ef38fedddccafcb4f93321a287aeb0 (patch)
tree3f83c6a30e6ea9893916b8751589220bce0a2bf9
parente343de4b1dd189b7f20f86d1c7200b8b46f8dbfe (diff)
*** empty log message ***
-rw-r--r--lzf_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lzf_c.c b/lzf_c.c
index e3b1108..eb5927b 100644
--- a/lzf_c.c
+++ b/lzf_c.c
@@ -154,7 +154,7 @@ lzf_compress (const void *const in_data, unsigned int in_len,
&& ref > (u8 *)in_data
&& ref[2] == ip[2]
#if STRICT_ALIGN
- && (ref[1] << 8) | ref[0] == (ip[1] << 8) | ip[0]
+ && ((ref[1] << 8) | ref[0]) == ((ip[1] << 8) | ip[0])
#else
&& *(u16 *)ref == *(u16 *)ip
#endif