--- liblzf/lzf_c.c 2010/05/30 05:52:57 1.39 +++ liblzf/lzf_c.c 2010/06/01 01:50:24 1.40 @@ -155,13 +155,11 @@ && (off = ip - ref - 1) < MAX_OFF && ip + 4 < in_end && ref > (u8 *)in_data -#if STRICT_ALIGN - && ref[0] == ip[0] - && ref[1] == ip[1] && ref[2] == ip[2] +#if STRICT_ALIGN + && (ref[1] << 8) | ref[0] == (ip[1] << 8) | ip[0] #else && *(u16 *)ref == *(u16 *)ip - && ref[2] == ip[2] #endif ) {