1
0
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:
AlexVinS
2017-08-12 15:43:41 +03:00
parent 8c0fab1dcf
commit 0868164147
8 changed files with 19 additions and 17 deletions

View File

@@ -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;
}