mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Fix signed-unsigned comparisons and mark warning as error (part 2).
This commit is contained in:
parent
771eff273b
commit
92e3eaf3ff
68 changed files with 194 additions and 202 deletions
|
@ -58,7 +58,7 @@ bool vfs::mount(std::string_view vpath, std::string_view path)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (pos == -1)
|
||||
if (pos == umax)
|
||||
{
|
||||
// Mounting completed
|
||||
list.back()->path = path;
|
||||
|
@ -146,7 +146,7 @@ std::string vfs::get(std::string_view vpath, std::vector<std::string>* out_dir,
|
|||
return fs::get_config_dir() + "delete_this_dir.../delete_this...";
|
||||
}
|
||||
|
||||
if (pos == -1)
|
||||
if (pos == umax)
|
||||
{
|
||||
// Absolute path: finalize
|
||||
for (auto it = list.rbegin(), rend = list.rend(); it != rend; it++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue