summaryrefslogtreecommitdiff
path: root/lzf_c.c
diff options
context:
space:
mode:
authorroot <root>2010-06-01 07:37:17 +0000
committerroot <root>2010-06-01 07:37:17 +0000
commit4a7d25b8ab74275f0d5eb91e185cd721dacda909 (patch)
tree3f83c6a30e6ea9893916b8751589220bce0a2bf9 /lzf_c.c
parent5eddd050bc7ffb1b87169a50fd49ab0ed04a3948 (diff)
*** empty log message ***
Diffstat (limited to 'lzf_c.c')
-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