Coverity fixes.

This commit is contained in:
Jeff Young
2025-05-25 20:01:18 +01:00
parent 1e45ca3e65
commit 327cca9de5
25 changed files with 66 additions and 57 deletions
+1 -1
View File
@@ -420,7 +420,7 @@ void BOARD_COMMIT::Push( const wxString& aMessage, int aCommitFlags )
case CHT_MODIFY:
{
BOARD_ITEM* boardItemCopy = dynamic_cast<BOARD_ITEM*>( ent.m_copy );
BOARD_ITEM* boardItemCopy = static_cast<BOARD_ITEM*>( ent.m_copy );
if( !( aCommitFlags & SKIP_UNDO ) )
{