./src/share/native/sun/font/freetypeScaler.c

Print this page
rev 2713 : Corrected type cast.

*** 977,987 **** return FT_Get_Char_Index(scalerInfo->face, charCode); } ! #define FloatToF26Dot6(x) ((unsigned int) ((x)*64)) static FT_Outline* getFTOutline(JNIEnv* env, jobject font2D, FTScalerContext *context, FTScalerInfo* scalerInfo, jint glyphCode, jfloat xpos, jfloat ypos) { int renderFlags; --- 977,987 ---- return FT_Get_Char_Index(scalerInfo->face, charCode); } ! #define FloatToF26Dot6(x) ((int) ((x)*64)) static FT_Outline* getFTOutline(JNIEnv* env, jobject font2D, FTScalerContext *context, FTScalerInfo* scalerInfo, jint glyphCode, jfloat xpos, jfloat ypos) { int renderFlags;