mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-24 19:52:37 +01:00
Fix for clang 19
This commit is contained in:
parent
4ba4268282
commit
56099e79da
4
3rdparty/pine/pine_server.h
vendored
4
3rdparty/pine/pine_server.h
vendored
@ -200,7 +200,7 @@ namespace pine
|
|||||||
if (!SafetyChecks(buf_cnt, 4, ret_cnt, 1, buf_size))
|
if (!SafetyChecks(buf_cnt, 4, ret_cnt, 1, buf_size))
|
||||||
return error();
|
return error();
|
||||||
const u32 a = FromArray<u32>(&buf[buf_cnt], 0);
|
const u32 a = FromArray<u32>(&buf[buf_cnt], 0);
|
||||||
if (!Impl::template check_addr(a))
|
if (!Impl::template check_addr<1>(a))
|
||||||
return error();
|
return error();
|
||||||
const u8 res = Impl::read8(a);
|
const u8 res = Impl::read8(a);
|
||||||
ToArray(ret_buffer, res, ret_cnt);
|
ToArray(ret_buffer, res, ret_cnt);
|
||||||
@ -252,7 +252,7 @@ namespace pine
|
|||||||
if (!SafetyChecks(buf_cnt, 1 + 4, ret_cnt, 0, buf_size))
|
if (!SafetyChecks(buf_cnt, 1 + 4, ret_cnt, 0, buf_size))
|
||||||
return error();
|
return error();
|
||||||
const u32 a = FromArray<u32>(&buf[buf_cnt], 0);
|
const u32 a = FromArray<u32>(&buf[buf_cnt], 0);
|
||||||
if (!Impl::template check_addr(a, vm::page_writable))
|
if (!Impl::template check_addr<1>(a, vm::page_writable))
|
||||||
return error();
|
return error();
|
||||||
Impl::write8(a, FromArray<u8>(&buf[buf_cnt], 4));
|
Impl::write8(a, FromArray<u8>(&buf[buf_cnt], 4));
|
||||||
buf_cnt += 5;
|
buf_cnt += 5;
|
||||||
|
Loading…
Reference in New Issue
Block a user