summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3-decode.h
diff options
context:
space:
mode:
Diffstat (limited to 'xdelta3/xdelta3-decode.h')
-rw-r--r--xdelta3/xdelta3-decode.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/xdelta3/xdelta3-decode.h b/xdelta3/xdelta3-decode.h
index 8e3e799..05737cc 100644
--- a/xdelta3/xdelta3-decode.h
+++ b/xdelta3/xdelta3-decode.h
@@ -970,11 +970,16 @@ xd3_decode_input (xd3_stream *stream)
970 { 970 {
971 int i; 971 int i;
972 972
973 if ((ret = xd3_decode_bytes (stream, stream->dec_cksum, & stream->dec_cksumbytes, 4))) { return ret; } 973 if ((ret = xd3_decode_bytes (stream, stream->dec_cksum,
974 & stream->dec_cksumbytes, 4)))
975 {
976 return ret;
977 }
974 978
975 for (i = 0; i < 4; i += 1) 979 for (i = 0; i < 4; i += 1)
976 { 980 {
977 stream->dec_adler32 = (stream->dec_adler32 << 8) | stream->dec_cksum[i]; 981 stream->dec_adler32 =
982 (stream->dec_adler32 << 8) | stream->dec_cksum[i];
978 } 983 }
979 } 984 }
980 985