mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
(int) -> static_cast<int>
This commit is contained in:
@@ -1727,7 +1727,7 @@ void CGScholar::onHeroVisit( const CGHeroInstance * h ) const
|
||||
}
|
||||
break;
|
||||
default:
|
||||
logGlobal->error("Error: wrong bonus type (%d) for Scholar!\n", (int)type);
|
||||
logGlobal->error("Error: wrong bonus type (%d) for Scholar!\n", static_cast<int>(type));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user