Skip to content

Commit

Permalink
Fix DataSize.chunk (fix 1024jp#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Oct 23, 2019
1 parent f10651d commit 01e0d4d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
Change Log
==========================

5.1.0
--------------------------

### Fixes

- Fix chunk size.



5.0.0
--------------------------

Expand Down
2 changes: 1 addition & 1 deletion Sources/Gzip/Data+Gzip.swift
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ extension Data {

private struct DataSize {

static let chunk = 2 ^ 14
static let chunk = 1 << 14
static let stream = MemoryLayout<z_stream>.size

private init() { }
Expand Down

0 comments on commit 01e0d4d

Please sign in to comment.