Silence Linux snprintf warnings (#14131)

This commit is contained in:
sonninnos 2022-07-02 15:08:27 +03:00 committed by GitHub
parent df25f88432
commit ee8993c76a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 13 additions and 12 deletions

View file

@ -1443,7 +1443,7 @@ bool command_event_save_core_config(
if (path_is_valid(core_path))
{
unsigned i;
char tmp[PATH_MAX_LENGTH];
char tmp[PATH_MAX_LENGTH + 8];
RARCH_LOG("[Config]: %s\n", msg_hash_to_str(MSG_USING_CORE_NAME_FOR_NEW_CONFIG));
fill_pathname_base_noext(