Silence a discarded-qualifiers warning

waitUntilDeviceIsReady() should take a const char pointer as a
parameter, because it doesn't use it for writing. Since the function
prototype asks for a char pointer, cast it here.
This commit is contained in:
pstef 2025-04-09 16:21:11 +00:00
parent 4f9e86d24b
commit bcdb644bce
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ static void frontend_ps2_exec(const char *path, bool should_load_game)
deinit_drivers(true, true);
reset_IOP();
common_init_drivers(false);
waitUntilDeviceIsReady(path);
waitUntilDeviceIsReady((char *)path);
#ifndef IS_SALAMANDER
char game_path[FILENAME_MAX];