Skip to content

Commit d0c2cb7

Browse files
committed
main: Fix some warning
1 parent db945f6 commit d0c2cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpcs3/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ int find_arg(const char* to_search, std::span<char* const> argv)
410410

411411
if (argp[0] == '-' && argp[1] == '-' && !std::strcmp(to_search, argp + 2))
412412
{
413-
return i;
413+
return ::narrow<int>(i);
414414
}
415415
}
416416

0 commit comments

Comments
 (0)