aboutsummaryrefslogtreecommitdiff
path: root/src/core/launch_params.cpp
diff options
context:
space:
mode:
authorTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-27 11:46:04 -0400
committerTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-27 11:46:04 -0400
commita05231f8782178d5a074de16aaba2ae0b118ccd4 (patch)
treef959d1fca8f65730eb6efbabd23d6b2cb07bffc1 /src/core/launch_params.cpp
parent26a03d2473787abf3223b2d0e65b291eee00c1e1 (diff)
Fix build with MSVC 14.51 (VS 2026)
- sparse_large_vector: ULONG_PTR -> u64 needs static_cast, not reinterpret_cast - zbic_compression: silence C4505/C5245 for the amalgamated zstd.c, which is compiled as project code and hits /we4505 - launch_params: explicit int -> bool (C4800 is an error here)
Diffstat (limited to 'src/core/launch_params.cpp')
-rw-r--r--src/core/launch_params.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/launch_params.cpp b/src/core/launch_params.cpp
index a0483226ec..25fdd45fdb 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 = isdigit(optarg[0]) != 0;
p.selected_user = atoi(optarg);
if (!argument_ok) {
// try to look it up by username, only finds the first username that matches.