Browse Source

Avoid using #define

adaptive-webui-19844
Christophe Dumez 12 years ago
parent
commit
f49ba3e93d
  1. 4
      src/downloadthread.cpp

4
src/downloadthread.cpp

@ -70,8 +70,8 @@ QByteArray DownloadThread::gUncompress(Bytef *inData, size_t len) { @@ -70,8 +70,8 @@ QByteArray DownloadThread::gUncompress(Bytef *inData, size_t len) {
strm.avail_in = len;
strm.next_in = inData;
#define windowBits 15
#define ENABLE_ZLIB_GZIP 32
const int windowBits = 15;
const int ENABLE_ZLIB_GZIP = 32;
int ret = inflateInit2(&strm, windowBits|ENABLE_ZLIB_GZIP ); // gzip decoding
if (ret != Z_OK)

Loading…
Cancel
Save