mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
Fix warnings in emucore
This commit is contained in:
parent
f2f3321952
commit
250736ece5
48 changed files with 189 additions and 193 deletions
|
@ -923,7 +923,7 @@ public:
|
|||
name.append(".gz");
|
||||
|
||||
z_stream zs{};
|
||||
uLong zsz = compressBound(obj.getBufferSize()) + 256;
|
||||
uLong zsz = compressBound(::narrow<u32>(obj.getBufferSize(), HERE)) + 256;
|
||||
auto zbuf = std::make_unique<uchar[]>(zsz);
|
||||
#ifndef _MSC_VER
|
||||
#pragma GCC diagnostic push
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue