diff --git a/cocos/2d/CCFont.h b/cocos/2d/CCFont.h index 692134ec47..719d424a49 100644 --- a/cocos/2d/CCFont.h +++ b/cocos/2d/CCFont.h @@ -49,8 +49,8 @@ public: virtual int getFontMaxHeight() const { return 0; } virtual int getUTF16TextLenght(unsigned short int *text) const; - virtual unsigned short int * getUTF16Text(const char *text, int &outNumLetters) const; - virtual unsigned short int * trimUTF16Text(unsigned short int *text, int newBegin, int newEnd) const; + virtual unsigned short * getUTF16Text(const char *text, int &outNumLetters) const; + virtual unsigned short * trimUTF16Text(unsigned short int *text, int newBegin, int newEnd) const; protected: