Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2007-07-06 20:26:20 +0400
committerMiguel de Icaza <miguel@gnome.org>2007-07-06 20:26:20 +0400
commit72be24a388d79cdb4e8ad35fd4d33abf07c078d8 (patch)
treec9cf92ba557ce764ffea27819a52e44a0536d70d /mcs/class/System/System.IO.Compression/DeflateStream.cs
parentd1bb8e5ec10766d4fecdc634bf736385ff09c7ea (diff)
Fix signature, fixes bug 82019, patch from Jason Madden
svn path=/trunk/mcs/; revision=81493
Diffstat (limited to 'mcs/class/System/System.IO.Compression/DeflateStream.cs')
-rw-r--r--mcs/class/System/System.IO.Compression/DeflateStream.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/System/System.IO.Compression/DeflateStream.cs b/mcs/class/System/System.IO.Compression/DeflateStream.cs
index 2a1964c49e3..e8500b4b0f7 100644
--- a/mcs/class/System/System.IO.Compression/DeflateStream.cs
+++ b/mcs/class/System/System.IO.Compression/DeflateStream.cs
@@ -48,7 +48,7 @@ namespace System.IO.Compression {
[DllImport("MonoPosixHelper")]
static extern IntPtr create_z_stream(CompressionMode compress, bool gzip);
[DllImport("MonoPosixHelper")]
- static extern void free_z_stream(IntPtr z_stream);
+ static extern void free_z_stream(IntPtr z_stream, CompressionMode compress );
[DllImport("MonoPosixHelper")]
static extern void z_stream_set_next_in(IntPtr z_stream, IntPtr next_in);
[DllImport("MonoPosixHelper")]
@@ -124,7 +124,7 @@ namespace System.IO.Compression {
}
}
- free_z_stream (z_stream);
+ free_z_stream (z_stream,mode);
z_stream = IntPtr.Zero;
if (!leaveOpen) {