mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 13:58:51 +03:00
Avoid using #define
This commit is contained in:
parent
e98fb61400
commit
f49ba3e93d
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue