1 diff --git a/src/client/imagefile.cpp b/src/client/imagefile.cpp
2 index dd83411..62d0f72 100644
3 --- a/src/client/imagefile.cpp
4 +++ b/src/client/imagefile.cpp
5 @@ -783,7 +783,7 @@ void CImage::openWriting()
6 else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip compression
8 showDebug(1, "open gzip\n");
9 - m_gzImageFile = (gzFile *) gzdopen(m_nFdImage, "wb"); //"wb1h");
10 + m_gzImageFile = gzdopen(m_nFdImage, "wb"); //"wb1h");
11 if (m_gzImageFile == NULL)
13 showDebug(1, "error:%d %s\n", errno, strerror(errno));
14 @@ -1098,7 +1098,7 @@ void CImage::openReading(CVolumeHeader *vh /* = NULL */)
16 else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip compression
18 - m_gzImageFile = (gzFile *) gzdopen(m_nFdImage, "rb");
19 + m_gzImageFile = gzdopen(m_nFdImage, "rb");
20 if (m_gzImageFile == NULL)
21 THROW(ERR_ERRNO, errno);
23 diff --git a/src/client/imagefile.h b/src/client/imagefile.h
24 index 4ba8910..6adb098 100644
25 --- a/src/client/imagefile.h
26 +++ b/src/client/imagefile.h
27 @@ -41,7 +41,7 @@ class CImage
31 - gzFile *m_gzImageFile;
32 + gzFile m_gzImageFile;
33 BZFILE *m_bzImageFile;