summaryrefslogtreecommitdiffstats
path: root/LzmaEnc.c
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-05-25 09:52:29 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-05-25 09:53:02 +0000
commit1c38fdb45a6a7247c92437ef13ffae2c27051276 (patch)
tree0324c8c97a03c14baff0fbedea3a07ea2c2ab768 /LzmaEnc.c
parentReleasing debian version 1.6-2. (diff)
downloadpdlzip-1c38fdb45a6a7247c92437ef13ffae2c27051276.tar.xz
pdlzip-1c38fdb45a6a7247c92437ef13ffae2c27051276.zip
Merging upstream version 1.7.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r--LzmaEnc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/LzmaEnc.c b/LzmaEnc.c
index fb5df7a..e931a3d 100644
--- a/LzmaEnc.c
+++ b/LzmaEnc.c
@@ -3,6 +3,7 @@
#define _FILE_OFFSET_BITS 64
+#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
@@ -1371,7 +1372,7 @@ static void LZe_full_flush(CLzmaEnc *p, uint32_t posState)
unsigned long long in_size = p->nowPos64;
unsigned long long out_size = p->rc.processed + Fh_size + Ft_size;
if( in_size <= 0 || out_size <= 0 )
- fprintf( stderr, " no data compressed.\n" );
+ fputs( " no data compressed.\n", stderr );
else
fprintf( stderr, "%6.3f:1, %6.3f bits/byte, "
"%5.2f%% saved, %llu in, %llu out.\n",