summaryrefslogtreecommitdiff
path: root/editors/AbiWord2/files/patch-src_af_xap_unix_xap_UnixFont.cpp
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-08-05 00:27:07 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-08-05 00:27:07 +0000
commitd693dd43ae914ad3f51a3cf0f05592ea8c5080ac (patch)
tree3e23e6f0b6fe155cfef9ae9d4026280a0078ac08 /editors/AbiWord2/files/patch-src_af_xap_unix_xap_UnixFont.cpp
parentCorrect a problem with the patch in my last commit. (diff)
Attempt to fix build on 64-bit platforms.
Notes
Notes: svn path=/head/; revision=86317
Diffstat (limited to '')
-rw-r--r--editors/AbiWord2/files/patch-src_af_xap_unix_xap_UnixFont.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/AbiWord2/files/patch-src_af_xap_unix_xap_UnixFont.cpp b/editors/AbiWord2/files/patch-src_af_xap_unix_xap_UnixFont.cpp
new file mode 100644
index 000000000000..29b75760b1d7
--- /dev/null
+++ b/editors/AbiWord2/files/patch-src_af_xap_unix_xap_UnixFont.cpp
@@ -0,0 +1,15 @@
+--- src/af/xap/unix/xap_UnixFont.cpp.orig Mon Aug 4 20:24:53 2003
++++ src/af/xap/unix/xap_UnixFont.cpp Mon Aug 4 20:25:50 2003
+@@ -400,10 +400,10 @@
+ size_t idx = 0;
+ for (size_t i = 0; i < coverage.size(); i += 2)
+ {
+- UT_UCSChar c1 = static_cast<UT_UCSChar>(reinterpret_cast<UT_uint32>(coverage[i]));
++ UT_UCSChar c1 = static_cast<UT_UCSChar>(reinterpret_cast<unsigned long>(coverage[i]));
+ UT_UCSChar c2 =
+ static_cast<UT_UCSChar>(static_cast<UT_uint32>(c1)) +
+- static_cast<UT_UCSChar>(reinterpret_cast<UT_uint32>(coverage[i + 1]));
++ static_cast<UT_UCSChar>(reinterpret_cast<unsigned long>(coverage[i + 1]));
+ for (UT_UCSChar c = c1; c < c2; ++c)
+ {
+ FT_UInt glyph_idx = FT_Get_Char_Index(face, c);