aboutsummaryrefslogtreecommitdiff
path: root/packed_read_pack.go
diff options
context:
space:
mode:
Diffstat (limited to 'packed_read_pack.go')
-rw-r--r--packed_read_pack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/packed_read_pack.go b/packed_read_pack.go
index 593fe97f..31279c8f 100644
--- a/packed_read_pack.go
+++ b/packed_read_pack.go
@@ -97,7 +97,7 @@ func packSectionInflate(pf *packFile, start uint64, sizeHint int) (bufpool.Buffe
if start > uint64(len(pf.data)) {
return bufpool.Buffer{}, ErrInvalidObject
}
- body, err := zlibx.DecompressSized(pf.data[start:], sizeHint)
+ body, _, err := zlibx.DecompressSized(pf.data[start:], sizeHint)
if err != nil {
return bufpool.Buffer{}, err
}