ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/liblzf/lzf_c_best.c
(Generate patch)

Comparing liblzf/lzf_c_best.c (file contents):
Revision 1.5 by root, Mon Jun 29 23:34:42 2015 UTC vs.
Revision 1.6 by root, Sun Oct 11 22:26:07 2015 UTC

83 83
84 lit = 0; op++; /* start run */ 84 lit = 0; op++; /* start run */
85 85
86 lit++; *op++ = *ip++; 86 lit++; *op++ = *ip++;
87 87
88 &state; /* avoid undefined behaviour by forcing non-register class, 6.3.2.1p2 */
89
88 while (ip < in_end - 2) 90 while (ip < in_end - 2)
89 { 91 {
90 int best_l = 0; 92 int best_l = 0;
91 const u8 *best_p; 93 const u8 *best_p;
92 int e = (in_end - ip < LZF_MAX_REF ? in_end - ip : LZF_MAX_REF) - 1; 94 int e = (in_end - ip < LZF_MAX_REF ? in_end - ip : LZF_MAX_REF) - 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines