Skip to content

Commit

Permalink
Fix assert argument
Browse files Browse the repository at this point in the history
  • Loading branch information
timcanham committed Feb 9, 2025
1 parent 889abcb commit d64584a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Svc/DpCatalog/DpCatalog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,10 @@ namespace Svc {

void DpCatalog::appendFileState(const DpStateEntry& entry) {
FW_ASSERT(this->m_stateFileData);
FW_ASSERT(entry.dir < static_cast<FwIndexType>(this->m_numDirectories),entry.dir,this->m_numDirectories);
FW_ASSERT(entry.dir < static_cast<FwIndexType>(this->m_numDirectories),
entry.dir,
static_cast<FwAssertArgType>(this->m_numDirectories)
);

// We will append state to the existing state file
// TODO: Have to handle case where state file has partially transmitted
Expand Down

0 comments on commit d64584a

Please sign in to comment.