1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-03 00:38:44 +00:00
This commit is contained in:
twinaphex 2019-01-08 17:53:58 +01:00
parent c2047c8c04
commit 93346fed6b
2 changed files with 4 additions and 3 deletions

View File

@ -868,7 +868,9 @@ static void netplay_announce(void)
if (subsystem)
{
for (unsigned i = 0; i < subsystem->size; i++)
unsigned i;
for (i = 0; i < subsystem->size; i++)
{
strlcat(buf, path_basename(subsystem->elems[i].data), sizeof(buf));
if (i < subsystem->size - 1)

View File

@ -690,8 +690,7 @@ static void retroarch_parse_input_and_config(int argc, char *argv[])
};
/* Copy the args into a buffer so launch arguments can be reused */
for (i = 0; i < argc; i++)
for (i = 0; i < (unsigned)argc; i++)
{
strlcat(launch_arguments, argv[i], sizeof(launch_arguments));
strlcat(launch_arguments, " ", sizeof(launch_arguments));