summaryrefslogtreecommitdiff
path: root/java/jdk14/files/patch-awt_fontmanager_t2kScalerContext.cpp
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2004-08-12 21:54:01 +0000
committerGreg Lewis <glewis@FreeBSD.org>2004-08-12 21:54:01 +0000
commite551896df5b5962ef0f41d20ca16e189457afb79 (patch)
tree1405c23d76b7dc91c83e94362d0175ce877408c7 /java/jdk14/files/patch-awt_fontmanager_t2kScalerContext.cpp
parentAdd another entry for kdelibs3 due to another missed patch. (diff)
. Fix the build for gcc 3.4.
PR: 69853 Submitted by: Jake Hamby <jhamby@anobject.com> Approved by: phantom (maintainer)
Notes
Notes: svn path=/head/; revision=116077
Diffstat (limited to 'java/jdk14/files/patch-awt_fontmanager_t2kScalerContext.cpp')
-rw-r--r--java/jdk14/files/patch-awt_fontmanager_t2kScalerContext.cpp21
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);
+ }
+
+ //////////////////////////////////////////////////////////////////////////////