1http://bugs.gentoo.org/405323
2
3--- a/src/client/imagefile.cpp
4+++ b/src/client/imagefile.cpp
5@@ -783,7 +783,7 @@
6 else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip compression
7 {
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)
12 {
13 showDebug(1, "error:%d %s\n", errno, strerror(errno));
14@@ -1098,7 +1098,7 @@
15 }
16 else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip compression
17 {
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);
22 else
23--- a/src/client/imagefile.h
24+++ b/src/client/imagefile.h
25@@ -41,7 +41,7 @@
26 COptions m_options;
27
28 FILE *m_fImageFile;
29- gzFile *m_gzImageFile;
30+ gzFile m_gzImageFile;
31 BZFILE *m_bzImageFile;
32
33 int m_nFdImage;