(Array*) --> static_cast<Array*>() for CCControl.cpp.

This commit is contained in:
James Chen 2013-08-09 10:56:39 +08:00
parent 9ce4388214
commit fc437c5ef4
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ bool Control::isTouchInside(Touch* touch)
Array* Control::dispatchListforControlEvent(EventType controlEvent)
{
Array* invocationList = (Array*)_dispatchTable->objectForKey((int)controlEvent);
Array* invocationList = static_cast<Array*>(_dispatchTable->objectForKey((int)controlEvent));
// If the invocation list does not exist for the dispatch table, we create it
if (invocationList == NULL)