mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 02:38:37 +12:00
First part of fixing sign-compare warning (inside be_t).
This commit is contained in:
parent
0cf35e3b22
commit
771eff273b
31 changed files with 129 additions and 128 deletions
|
@ -60,7 +60,7 @@ namespace vm
|
|||
|
||||
explicit operator bool() const
|
||||
{
|
||||
return m_addr != 0;
|
||||
return m_addr != 0u;
|
||||
}
|
||||
|
||||
// Get vm pointer to a struct member
|
||||
|
@ -120,7 +120,7 @@ namespace vm
|
|||
// Test address for arbitrary alignment: (addr & (align - 1)) == 0
|
||||
bool aligned(u32 align = alignof(T)) const
|
||||
{
|
||||
return (m_addr & (align - 1)) == 0;
|
||||
return (m_addr & (align - 1)) == 0u;
|
||||
}
|
||||
|
||||
// Get type size
|
||||
|
@ -252,7 +252,7 @@ namespace vm
|
|||
|
||||
explicit operator bool() const
|
||||
{
|
||||
return m_addr != 0;
|
||||
return m_addr != 0u;
|
||||
}
|
||||
|
||||
_ptr_base<RT(T...), u32> operator +() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue