Fixed GCC warning on narrowing conversion

This commit is contained in:
Sergey Shambir 2013-04-19 12:09:26 +04:00
parent fd0e4a80df
commit 5541816ef6
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ void CCTextFieldTTF::setColorSpaceHolder(const ccColor3B& color)
// input text property
void CCTextFieldTTF::setString(const char *text)
{
static char bulletString[] = {0xe2, 0x80, 0xa2, 0x00};
static char bulletString[] = {(char)0xe2, (char)0x80, (char)0xa2, (char)0x00};
std::string displayText;
int length;