mirror of https://github.com/axmolengine/axmol.git
(Array*) --> static_cast<Array*>() for CCControl.cpp.
This commit is contained in:
parent
9ce4388214
commit
fc437c5ef4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue