mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-18 17:14:28 -04:00
<int> -> <s32>
This commit is contained in:
parent
014f08f6b4
commit
934ff7bbde
2 changed files with 2 additions and 2 deletions
|
@ -520,7 +520,7 @@ namespace sts::ldr {
|
|||
}
|
||||
|
||||
/* Validate size. */
|
||||
if (file_size > segment->size || file_size > std::numeric_limits<int>::max() || segment->size > std::numeric_limits<int>::max()) {
|
||||
if (file_size > segment->size || file_size > std::numeric_limits<s32>::max() || segment->size > std::numeric_limits<s32>::max()) {
|
||||
return ResultLoaderInvalidNso;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue