diff options
author | Miguel de Icaza <miguel@gnome.org> | 2007-07-06 20:26:20 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2007-07-06 20:26:20 +0400 |
commit | 72be24a388d79cdb4e8ad35fd4d33abf07c078d8 (patch) | |
tree | c9cf92ba557ce764ffea27819a52e44a0536d70d /mcs/class/System/System.IO.Compression/DeflateStream.cs | |
parent | d1bb8e5ec10766d4fecdc634bf736385ff09c7ea (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.cs | 4 |
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) { |