Fix ui::Manager::pumpQueue() error when compiling in debug mode

This commit is contained in:
David Capello 2013-09-28 17:13:17 -03:00
parent 5d0c25b0da
commit 251e651cbd

View File

@ -1009,7 +1009,7 @@ void Manager::pumpQueue()
// Call Timer::tick() if this is a tick message.
if (msg->type() == kTimerMessage) {
ASSERT(msg->timer.timer != NULL);
ASSERT(static_cast<TimerMessage*>(msg)->timer() != NULL);
static_cast<TimerMessage*>(msg)->timer()->tick();
}