aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stable/bzip2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stable/bzip2.cpp b/src/stable/bzip2.cpp
index dd2ed53..11b8873 100644
--- a/src/stable/bzip2.cpp
+++ b/src/stable/bzip2.cpp
@@ -162,7 +162,7 @@ Bu::size Bu::BZip2::read( void *pData, Bu::size nBytes )
162 { 162 {
163 if( rNext.isSeekable() ) 163 if( rNext.isSeekable() )
164 { 164 {
165 rNext.seek( -pState->avail_in ); 165 rNext.seek( -(Bu::size)pState->avail_in );
166 } 166 }
167 } 167 }
168 return nBytes-pState->avail_out; 168 return nBytes-pState->avail_out;