From d64584a07cf34df50c74d2f538d18b03c481de68 Mon Sep 17 00:00:00 2001 From: Timothy Canham Date: Sat, 8 Feb 2025 16:39:29 -0800 Subject: [PATCH] Fix assert argument --- Svc/DpCatalog/DpCatalog.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Svc/DpCatalog/DpCatalog.cpp b/Svc/DpCatalog/DpCatalog.cpp index 508af44370..68daea329b 100644 --- a/Svc/DpCatalog/DpCatalog.cpp +++ b/Svc/DpCatalog/DpCatalog.cpp @@ -318,7 +318,10 @@ namespace Svc { void DpCatalog::appendFileState(const DpStateEntry& entry) { FW_ASSERT(this->m_stateFileData); - FW_ASSERT(entry.dir < static_cast(this->m_numDirectories),entry.dir,this->m_numDirectories); + FW_ASSERT(entry.dir < static_cast(this->m_numDirectories), + entry.dir, + static_cast(this->m_numDirectories) + ); // We will append state to the existing state file // TODO: Have to handle case where state file has partially transmitted