mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Use PATH_MAX_LENGTH
This commit is contained in:
parent
b5768cb94c
commit
759a01b74f
@ -244,7 +244,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
break;
|
||||
case ACTION_OK_DL_PARENT_DIRECTORY_PUSH:
|
||||
{
|
||||
char parent_dir[PATH_MAX];
|
||||
char parent_dir[PATH_MAX_LENGTH];
|
||||
|
||||
fill_pathname_parent_dir(parent_dir, action_path, sizeof(parent_dir));
|
||||
fill_pathname_parent_dir(parent_dir, parent_dir, sizeof(parent_dir));
|
||||
|
Loading…
x
Reference in New Issue
Block a user