cocos2d/cocos2d-x — pull request #5289 by maksqwe (2014-02-03 20:13:01+00:00)
Title: fix string size check and assert condition

1. std::string::size() return size_t (is never < 0)
2. "event must be larger than 0" and 'event' has unsigned int type