From 056f55fa83fadbc14917b4be29d56a53faf7af83 Mon Sep 17 00:00:00 2001 From: Dirk Hoffmann Date: Fri, 31 May 2024 17:49:14 +0200 Subject: [PATCH] Fixed more MSVC compiler warnings --- Emulator/Misc/RetroShell/Interpreter.cpp | 4 ++-- Emulator/VirtualC64.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Emulator/Misc/RetroShell/Interpreter.cpp b/Emulator/Misc/RetroShell/Interpreter.cpp index 7c6d6ae46..4ef2a428f 100644 --- a/Emulator/Misc/RetroShell/Interpreter.cpp +++ b/Emulator/Misc/RetroShell/Interpreter.cpp @@ -318,9 +318,9 @@ Interpreter::help(const Command& current) usage(current); // Determine tabular positions to align the output - isize tab = 0; + usize tab = 0; for (auto &it : current.subCommands) { - tab = std::max(tab, (isize)it.fullName.length()); + tab = std::max(tab, it.fullName.length()); } tab += indent.size(); diff --git a/Emulator/VirtualC64.h b/Emulator/VirtualC64.h index 70dc847ba..6e5b03062 100644 --- a/Emulator/VirtualC64.h +++ b/Emulator/VirtualC64.h @@ -30,8 +30,6 @@ namespace vc64 { */ class VirtualC64 : vc64::Emulator { - using vc64::Emulator::Thread::Suspendable; - // // Static methods