aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk15
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2007-07-31 23:52:31 +0800
committerglewis <glewis@FreeBSD.org>2007-07-31 23:52:31 +0800
commit2b9a8b93d5e27f849712d5b4a93e0729a44811a3 (patch)
tree96763fff0ecd129f43d843d8d0da700deebf0804 /java/jdk15
parent0bb785d98732700d8e5a25d9716ebec8ce7512bd (diff)
downloadfreebsd-ports-gnome-2b9a8b93d5e27f849712d5b4a93e0729a44811a3.tar.gz
freebsd-ports-gnome-2b9a8b93d5e27f849712d5b4a93e0729a44811a3.tar.zst
freebsd-ports-gnome-2b9a8b93d5e27f849712d5b4a93e0729a44811a3.zip
. Better fix. Just use 'short' variables and be done with it. The
structure members being dereferenced into the variables are 'short*' after all, not 'fastInt*'.
Diffstat (limited to 'java/jdk15')
-rw-r--r--java/jdk15/files/patch-j2se::ttHints::HintScan.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/java/jdk15/files/patch-j2se::ttHints::HintScan.c b/java/jdk15/files/patch-j2se::ttHints::HintScan.c
index 12375f1cdfbc..10f4a6c176a8 100644
--- a/java/jdk15/files/patch-j2se::ttHints::HintScan.c
+++ b/java/jdk15/files/patch-j2se::ttHints::HintScan.c
@@ -2,12 +2,23 @@ $FreeBSD$
--- ../../j2se/src/share/native/sun/font/t2k/ttHints/HintScan.c 6 Mar 2007 16:53:10 -0000 1.1.1.2
+++ ../../j2se/src/share/native/sun/font/t2k/ttHints/HintScan.c 31 Jul 2007 04:07:56 -0000
-@@ -34,7 +34,7 @@
+@@ -34,8 +34,6 @@
#include "HintScan.h"
-#include "cpu.h" //for fastint
-+#include "Hint.h" //for fastint
-
+-
/* copy macros as temporal solution - straightforward including cause compilation issues */
#define F26Dot6ToFixed(x) ((x) << 10)
+ #define IntToFixed(a) ((Fixed)(a) << 16)
+@@ -208,8 +206,8 @@
+ F26Dot6 *v, tv, vmin, vmax, ctr;
+ F26Dot6 xmin, xmax, ymin, ymax;
+ tt_int32 n;
+- fastInt aPoint, startPoint, endPoint;
+- fastInt firstTime = true;
++ short aPoint, startPoint, endPoint;
++ short firstTime = true;
+ tt_int32 numPts = 0;
+
+ if (t->numberOfContours > 0) {