diff options
Diffstat (limited to 'java/jdk14/files/patch-awt_fontmanager_t2kScalerContext.cpp')
-rw-r--r-- | java/jdk14/files/patch-awt_fontmanager_t2kScalerContext.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/java/jdk14/files/patch-awt_fontmanager_t2kScalerContext.cpp b/java/jdk14/files/patch-awt_fontmanager_t2kScalerContext.cpp new file mode 100644 index 000000000000..7f39f7cceabb --- /dev/null +++ b/java/jdk14/files/patch-awt_fontmanager_t2kScalerContext.cpp @@ -0,0 +1,21 @@ +$FreeBSD$ + +--- ../../j2se/src/share/native/sun/awt/font/fontmanager/fontobjects/t2kScalerContext.cpp.orig Fri Jul 30 18:00:09 2004 ++++ ../../j2se/src/share/native/sun/awt/font/fontmanager/fontobjects/t2kScalerContext.cpp Fri Jul 30 22:11:36 2004 +@@ -937,14 +937,14 @@ + CMAPMapper::CharsToGlyphs( + int count, const Unicode16 unicodes[], UInt32 glyphs[]) const + { +- ConvertUnicodeToGlyphs(*font, (unsigned char *)cmap, count, unicodes, glyphs); ++ ConvertUnicodeToGlyphs(*font, (byte*&)cmap, count, unicodes, glyphs); + } + + void + CMAPMapper::CharsToGlyphs( + int count, const Unicode32 unicodes[], UInt32 glyphs[]) const + { +- ConvertUnicodeToGlyphs(*font, (unsigned char *)cmap, count, unicodes, glyphs); ++ ConvertUnicodeToGlyphs(*font, (byte*&)cmap, count, unicodes, glyphs); + } + + ////////////////////////////////////////////////////////////////////////////// |