diff options
author | Pixel <Pixel> | 2002-01-10 13:38:56 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2002-01-10 13:38:56 +0000 |
commit | 14551221587305fd303c96e10baf13bd5494684b (patch) | |
tree | cea6b72a86708426f6e48af8cf156936b49ba631 | |
parent | 483d424760f67f3664d4b44d5c0538f2c563d4b6 (diff) |
Zlib fix...
-rw-r--r-- | lib/Handle.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc index 28c1086..6c3bbbd 100644 --- a/lib/Handle.cc +++ b/lib/Handle.cc @@ -216,7 +216,7 @@ void Handle::SetZ(int az) throw (GeneralException) { if (CanWrite()) { format[index++] = 'w'; } - format[index++] = (char) (z + '0'); + format[index++] = (char) (az + '0'); format[index] = 0; cerr << "Performing gzdopen on handle " << h << " with mode \"" << format << "\"\n"; if (!(zfile = gzdopen(h, format))) { |