diff options
Diffstat (limited to 'xdelta3/xdelta3-second.h')
-rw-r--r-- | xdelta3/xdelta3-second.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xdelta3/xdelta3-second.h b/xdelta3/xdelta3-second.h index f4dc908..6bd43e2 100644 --- a/xdelta3/xdelta3-second.h +++ b/xdelta3/xdelta3-second.h | |||
@@ -19,7 +19,7 @@ | |||
19 | #ifndef _XDELTA3_SECOND_H_ | 19 | #ifndef _XDELTA3_SECOND_H_ |
20 | #define _XDELTA3_SECOND_H_ | 20 | #define _XDELTA3_SECOND_H_ |
21 | 21 | ||
22 | static inline void xd3_bit_state_encode_init (bit_state *bits) | 22 | static inline void xd3_bit_state_encode_init (bit_state *bits) |
23 | { | 23 | { |
24 | bits->cur_byte = 0; | 24 | bits->cur_byte = 0; |
25 | bits->cur_mask = 1; | 25 | bits->cur_mask = 1; |
@@ -271,8 +271,8 @@ xd3_encode_secondary (xd3_stream *stream, | |||
271 | if (comp_size < (orig_size - SECONDARY_MIN_SAVINGS)) | 271 | if (comp_size < (orig_size - SECONDARY_MIN_SAVINGS)) |
272 | { | 272 | { |
273 | IF_DEBUG1(DP(RINT "secondary saved %u bytes: %u -> %u (%0.2f%%)\n", | 273 | IF_DEBUG1(DP(RINT "secondary saved %u bytes: %u -> %u (%0.2f%%)\n", |
274 | orig_size - comp_size, orig_size, comp_size, | 274 | orig_size - comp_size, orig_size, comp_size, |
275 | (double) comp_size / (double) orig_size)); | 275 | 100.0 * (double) comp_size / (double) orig_size)); |
276 | 276 | ||
277 | xd3_free_output (stream, *head); | 277 | xd3_free_output (stream, *head); |
278 | 278 | ||