From 06af36a708d8f11dac8dcfdb792bc173f7a0c84d Mon Sep 17 00:00:00 2001 From: lizzie Date: Fri, 25 Sep 2026 11:32:34 +0000 Subject: [PATCH] 2026-09-25 11:32:34 Signed-off-by: lizzie --- src/core/launch_params.cpp | 2 +- src/hid_core/resources/npad/npad_types.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/launch_params.cpp b/src/core/launch_params.cpp index a0483226ec..91339b93ae 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(optarg[0]); + bool argument_ok = bool(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. diff --git a/src/hid_core/resources/npad/npad_types.h b/src/hid_core/resources/npad/npad_types.h index 68b803c3d3..00ba43ccdd 100644 --- a/src/hid_core/resources/npad/npad_types.h +++ b/src/hid_core/resources/npad/npad_types.h @@ -6,6 +6,8 @@ #pragma once +#include +#include #include "common/bit_field.h" #include "common/common_funcs.h" #include "common/common_types.h"