summaryrefslogtreecommitdiff
path: root/lzf_c.c
diff options
context:
space:
mode:
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