mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-14 10:21:21 +00:00
vk: Silence some compiler warnings
This commit is contained in:
parent
5b044a93c1
commit
b8311caa6b
@ -239,7 +239,7 @@ namespace vk
|
||||
#endif
|
||||
}
|
||||
|
||||
void create_dma_block(std::unique_ptr<dma_block>& block, u32 base_address, u32 expected_length)
|
||||
void create_dma_block(std::unique_ptr<dma_block>& block, u32 base_address, usz expected_length)
|
||||
{
|
||||
const auto vendor = g_render_device->gpu().get_driver_vendor();
|
||||
|
||||
|
@ -894,7 +894,7 @@ namespace vk
|
||||
|
||||
auto base_addr = static_cast<const char*>(opt.deferred_cmds.front().src);
|
||||
auto end_addr = static_cast<const char*>(opt.deferred_cmds.back().src) + opt.deferred_cmds.back().length;
|
||||
auto data_length = end_addr - base_addr;
|
||||
auto data_length = static_cast<u32>(end_addr - base_addr);
|
||||
u64 src_address = 0;
|
||||
|
||||
if (uptr(base_addr) > uptr(vm::g_sudo_addr))
|
||||
|
Loading…
x
Reference in New Issue
Block a user