mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Replace std::string::npos with umax
This commit is contained in:
parent
0a41999818
commit
7a8772dafa
18 changed files with 42 additions and 42 deletions
|
|
@ -68,7 +68,7 @@ fs::file tar_object::get_file(std::string path)
|
|||
{
|
||||
TARHeader header = read_header(largest_offset);
|
||||
|
||||
if (std::string(header.magic).find("ustar") != std::string::npos)
|
||||
if (std::string(header.magic).find("ustar") != umax)
|
||||
m_map[header.name] = largest_offset;
|
||||
|
||||
int size = octalToDecimal(atoi(header.size));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue