diff --git a/lrzip_private.h b/lrzip_private.h index bfe5c53..0f74475 100644 --- a/lrzip_private.h +++ b/lrzip_private.h @@ -190,8 +190,8 @@ struct rzip_control { i64 max_mmap; int threads; int nice_val; // added for consistency - int major_version; - int minor_version; + char major_version; + char minor_version; i64 st_size; long page_size; int fd_in; diff --git a/runzip.c b/runzip.c index 12324fa..a3d09fd 100644 --- a/runzip.c +++ b/runzip.c @@ -359,7 +359,8 @@ i64 runzip_fd(rzip_control *control, int fd_in, int fd_out, int fd_hist, i64 exp } while (total < expected_size || (!expected_size && !control->eof)); gettimeofday(&end,NULL); - print_progress("\nAverage DeCompression Speed: %6.3fMB/s\n", + if (!ENCRYPT) + print_progress("\nAverage DeCompression Speed: %6.3fMB/s\n", (total / 1024 / 1024) / (double)((end.tv_sec-start.tv_sec)? : 1)); if (!NO_MD5) {