summaryrefslogtreecommitdiffstats
path: root/java/jdk13/files/patch-t2kScalerContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'java/jdk13/files/patch-t2kScalerContext.cpp')
-rw-r--r--java/jdk13/files/patch-t2kScalerContext.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/jdk13/files/patch-t2kScalerContext.cpp b/java/jdk13/files/patch-t2kScalerContext.cpp
new file mode 100644
index 000000000..c15104d1f
--- /dev/null
+++ b/java/jdk13/files/patch-t2kScalerContext.cpp
@@ -0,0 +1,13 @@
+$FreeBSD: ports/java/jdk13/files/patch-t2kScalerContext.cpp,v 1.1 2004/08/10 20:30:30 glewis Exp $
+
+--- ../src/share/native/sun/awt/font/fontmanager/fontobjects/t2kScalerContext.cpp 12 Jul 2001 21:54:30 -0000 1.2
++++ ../src/share/native/sun/awt/font/fontmanager/fontobjects/t2kScalerContext.cpp 10 Aug 2004 14:29:24 -0000
+@@ -784,7 +784,7 @@
+ CMAPMapper::CharsToGlyphs(
+ int count, const Unicode unicodes[], UInt32 glyphs[]) const
+ {
+- ConvertUnicodeToGlyphs(*font, (unsigned char *)cmap, count, unicodes, glyphs);
++ ConvertUnicodeToGlyphs(*font, (byte*&)cmap, count, unicodes, glyphs);
+ }
+
+ //////////////////////////////////////////////////////////////////////////////