mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
fix some warnings
This commit is contained in:
parent
b1c48e66c9
commit
59c58aa3cf
72 changed files with 263 additions and 203 deletions
|
@ -1031,12 +1031,12 @@ static usz apply_modification(std::basic_string<u32>& applied, patch_engine::pat
|
|||
}
|
||||
case patch_type::utf8:
|
||||
{
|
||||
memory_size = p.original_value.size();
|
||||
memory_size = ::size32(p.original_value);
|
||||
break;
|
||||
}
|
||||
case patch_type::c_utf8:
|
||||
{
|
||||
memory_size = utils::add_saturate<u32>(p.original_value.size(), 1);
|
||||
memory_size = utils::add_saturate<u32>(::size32(p.original_value), 1);
|
||||
break;
|
||||
}
|
||||
case patch_type::move_file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue