summaryrefslogtreecommitdiffstats
path: root/main.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 07:23:06 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 07:23:06 +0000
commit4b650df10dcb0f7aa36b40f517e3ddb85b1198e4 (patch)
tree41c04636a5e74aa432e5f44d5904e805cae51790 /main.cc
parentAdding debian version 1.6~pre1-1. (diff)
downloadlzip-4b650df10dcb0f7aa36b40f517e3ddb85b1198e4.tar.xz
lzip-4b650df10dcb0f7aa36b40f517e3ddb85b1198e4.zip
Merging upstream version 1.6~pre2.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cc b/main.cc
index fa91d9d..87d186a 100644
--- a/main.cc
+++ b/main.cc
@@ -473,7 +473,7 @@ int decompress( const int inhandle, const Pretty_print & pp,
{
File_header header;
for( unsigned int i = 0; i < sizeof header; ++i )
- ((uint8_t *)&header)[i] = ibuf.read_byte();
+ ((uint8_t *)&header)[i] = ibuf.get_byte();
if( ibuf.finished() )
{
if( first_pass ) { pp( "error reading member header" ); return 1; }