mirror of https://github.com/axmolengine/axmol.git
Merge pull request #2408 from sergey-shambir/gcc_warning
Fixed GCC warning on narrowing conversion
This commit is contained in:
commit
985b3a100e
|
@ -288,7 +288,7 @@ void CCTextFieldTTF::setColorSpaceHolder(const ccColor3B& color)
|
||||||
// input text property
|
// input text property
|
||||||
void CCTextFieldTTF::setString(const char *text)
|
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;
|
std::string displayText;
|
||||||
int length;
|
int length;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue