Skip to content

Commit 522f286

Browse files
committed
Fix to compile on Go < 1.6
1 parent b0dc455 commit 522f286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compression.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
const (
16-
minCompressionLevel = flate.HuffmanOnly
16+
minCompressionLevel = -2 // flate.HuffmanOnly
1717
maxCompressionLevel = flate.BestCompression
1818
defaultCompressionLevel = 1
1919
)

0 commit comments

Comments
 (0)