mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-16 16:14:25 -04:00
os: implement Tick api, make build with -Werror
This commit is contained in:
parent
70367e3e7c
commit
43bd733f0a
13 changed files with 405 additions and 6 deletions
|
@ -237,7 +237,10 @@ namespace ams::patcher {
|
|||
}
|
||||
|
||||
/* Print the path for this directory. */
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat-truncation"
|
||||
std::snprintf(path + patches_dir_path_len, sizeof(path) - patches_dir_path_len, "/%s", entry.name);
|
||||
#pragma GCC diagnostic pop
|
||||
const size_t patch_dir_path_len = patches_dir_path_len + 1 + std::strlen(entry.name);
|
||||
|
||||
/* Open the patch directory. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue