From bb374fb98261b6f8d5658088a1defa1cd5ff491b Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Wed, 28 Aug 2024 21:51:40 -0230 Subject: [PATCH] Minor fixes for warnings from clang-tidy. --- src/debugger/gui/CartELFStateWidget.cxx | 2 +- src/emucore/CortexM0.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/debugger/gui/CartELFStateWidget.cxx b/src/debugger/gui/CartELFStateWidget.cxx index 8dd383694..cb5868ed1 100644 --- a/src/debugger/gui/CartELFStateWidget.cxx +++ b/src/debugger/gui/CartELFStateWidget.cxx @@ -123,7 +123,7 @@ void CartridgeELFStateWidget::initialize() y += myQueueSize->getHeight() + lineHeight / 2; - myNextTransaction = new StaticTextWidget(_boss, _font, x0, y, describeTransaction(0xffff, 0xffff, ~0LLu)); + myNextTransaction = new StaticTextWidget(_boss, _font, x0, y, describeTransaction(0xffff, 0xffff, ~0LLU)); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/emucore/CortexM0.cxx b/src/emucore/CortexM0.cxx index 5116bcc1c..a7f2826a2 100644 --- a/src/emucore/CortexM0.cxx +++ b/src/emucore/CortexM0.cxx @@ -715,7 +715,7 @@ CortexM0& CortexM0::mapRegionData(uInt32 pageBase, uInt32 pageCount, // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CortexM0& CortexM0::mapRegionCode(uInt32 pageBase, uInt32 pageCount, - bool readOnly, uInt8* backingStore) + bool readOnly, uInt8* backingStore) // NOLINT { MemoryRegion& region = setupMapping(pageBase, pageCount, readOnly, MemoryRegionType::directCode);