From 75dddf390b085c5c16fb331ea8405a33afcebe11 Mon Sep 17 00:00:00 2001 From: James Chen Date: Sun, 26 Jan 2014 21:33:22 +0800 Subject: [PATCH] unsigned short int * -> unsigned short* , remove unneeded `int`. --- cocos/2d/CCFont.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: