aboutsummaryrefslogtreecommitdiff
path: root/java/jdk13/files/patch-t2kScalerContext.cpp
blob: 53034bc3b8e5643f3c84e2513ae9fb43a5d8b3c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
$FreeBSD$

--- ../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);
 }
 
 //////////////////////////////////////////////////////////////////////////////