Code

zlib: zlib can only process 4GB at a time
[git.git] / diff.c
diff --git a/diff.c b/diff.c
index bac9a4bc22f96fd284a89c8c33a183672da3361b..431873d43ff35d69326053567f91745a904af93a 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -1729,7 +1729,7 @@ static unsigned char *deflate_it(char *data,
 {
        int bound;
        unsigned char *deflated;
-       z_stream stream;
+       git_zstream stream;
 
        memset(&stream, 0, sizeof(stream));
        git_deflate_init(&stream, zlib_compression_level);