start to replace old C-style casts with static_cast or reinterpret_cast, avoid implicit casts
This commit is contained in:
@@ -97,7 +97,7 @@ void ScriptFactorySingleton::Destruct (void)
|
||||
|
||||
const char* ScriptFactorySingleton::ProduceScript (const char* sScriptName) const
|
||||
{
|
||||
const char* script = (const char*)Produce(sScriptName);
|
||||
const char* script = static_cast<const char*>(Produce(sScriptName));
|
||||
|
||||
if ( !script )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user