summaryrefslogtreecommitdiffstats
path: root/java/jdk13/files/patch-t2kScalerContext.cpp
blob: c15104d1f37a91bc772b1e10eb40b13f458dd2d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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);
 }
 
 //////////////////////////////////////////////////////////////////////////////