mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 01:49:41 +00:00
Clear conversion wanrings under MSVC
This commit is contained in:
parent
37828ff0ef
commit
2f906a031b
3
gzip.cpp
3
gzip.cpp
@ -40,7 +40,8 @@ void Gzip::WritePrestreamHeader()
|
||||
AttachedTransformation()->Put(DEFLATED);
|
||||
AttachedTransformation()->Put((byte)flags); // general flag
|
||||
AttachedTransformation()->PutWord32(m_filetime, LITTLE_ENDIAN_ORDER); // time stamp
|
||||
byte extra = (GetDeflateLevel() == 1) ? FAST : ((GetDeflateLevel() == 9) ? SLOW : 0);
|
||||
byte extra = static_cast<byte>((GetDeflateLevel() == 1) ?
|
||||
FAST : ((GetDeflateLevel() == 9) ? SLOW : 0));
|
||||
AttachedTransformation()->Put(extra);
|
||||
AttachedTransformation()->Put(GZIP_OS_CODE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user