mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-31 23:08:22 -04:00
strat: compat with gcc 11
This commit is contained in:
parent
4f16106702
commit
21f3d29df7
11 changed files with 26 additions and 21 deletions
|
@ -29,7 +29,7 @@ namespace ams::fs {
|
|||
virtual Result GenerateCommonMountName(char *dst, size_t dst_size) override {
|
||||
/* Determine how much space we need. */
|
||||
const char *bis_mount_name = GetBisMountName(this->id);
|
||||
const size_t needed_size = strnlen(bis_mount_name, MountNameLengthMax) + 2;
|
||||
const size_t needed_size = util::Strnlen(bis_mount_name, MountNameLengthMax) + 2;
|
||||
AMS_ABORT_UNLESS(dst_size >= needed_size);
|
||||
|
||||
/* Generate the name. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue