Fix some GCC warnings

This was SVN commit r7048.
This commit is contained in:
Ykkrosh
2009-07-28 16:59:19 +00:00
parent 4ee7e26776
commit 008d894dd7
20 changed files with 39 additions and 29 deletions
+2 -2
View File
@@ -77,9 +77,9 @@ bool IEventTarget::_DispatchEvent( CScriptEvent* evt, IEventTarget* target )
// returns: whether the event arrived (i.e. wasn't cancelled) [bool]
bool IEventTarget::DispatchEvent( CScriptEvent* evt )
{
char* data;
const char* data;
PROFILE_START( "intern string" );
data = (char*) g_Profiler.InternString( "script: " + (CStr8)evt->m_Type );
data = g_Profiler.InternString( "script: " + (CStr8)evt->m_Type );
PROFILE_END( "intern string" );
g_Profiler.StartScript( data );
evt->m_Target = this;