diff options
Diffstat (limited to 'src/core/launch_params.cpp')
| -rw-r--r-- | src/core/launch_params.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/launch_params.cpp b/src/core/launch_params.cpp index 814a2cb553..a0483226ec 100644 --- a/src/core/launch_params.cpp +++ b/src/core/launch_params.cpp @@ -94,7 +94,7 @@ LaunchParams ParseLaunchParams(Core::System& system, int argc, char *argv[], wch break; case 'u': { // Launch game with a specific user - bool argument_ok = isdigit(static_cast<unsigned char>(optarg[0])) != 0; + bool argument_ok = isdigit(optarg[0]); p.selected_user = atoi(optarg); if (!argument_ok) { // try to look it up by username, only finds the first username that matches. |
