Support decompression for method deflate64.
Based on comment from Force Charlie.
diff --git a/NEWS.md b/NEWS.md
index ba8a793..967601e 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -4,7 +4,8 @@
* Add support for encrypting using traditional PKWare encryption.
* Add `zip_compression_method_supported()`.
* Add `zip_encryption_method_supported()`.
-* Add the `ZIP_SOURCE_GET_FILE_ATTRIBUTES` source command
+* Add the `ZIP_SOURCE_GET_FILE_ATTRIBUTES` source command.
+* Support decompression for method `deflate64`.
1.6.1 [2020-02-03]
==================
diff --git a/THANKS b/THANKS
index 885df5b..4915ab6 100644
--- a/THANKS
+++ b/THANKS
@@ -31,6 +31,7 @@
Erwin Haid <erwin.haid@gmx.de>
Eun-cheol Joo
Florian Delizy <florian.delizy@gmail.com>
+Force Charlie
François Simon <AT.GFI.Francois.SIMON@sesam-vitale.fr>
Frederik Ramm <frederik@remote.org>
Hanno Böck <hanno@hboeck.de>
diff --git a/lib/zip_source_compress.c b/lib/zip_source_compress.c
index 8e11dc2..76d38ba 100644
--- a/lib/zip_source_compress.c
+++ b/lib/zip_source_compress.c
@@ -63,6 +63,8 @@
static struct implementation implementations[] = {
{ZIP_CM_DEFLATE, &zip_algorithm_deflate_compress, &zip_algorithm_deflate_decompress},
+ {ZIP_CM_DEFLATE64, NULL, &zip_algorithm_deflate_decompress},
+
#if defined(HAVE_LIBBZ2)
{ZIP_CM_BZIP2, &zip_algorithm_bzip2_compress, &zip_algorithm_bzip2_decompress},
#endif