fixed the 64-bits division computation for 16-bits systems
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
diff --git a/ChangeLog b/ChangeLog
index 57b5397..8157086 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,17 @@
+2001-06-24 David Turner <david@freetype.org>
+
+ * src/base/ftcalc.c (ft_div64by32): fixed the source to work
+ correctly on 16-bit systems..
+
2001-06-23 Anthony Fok <fok@debian.org>
* debian/*: Added Debian package build directory for 2.0.4.
-2001-06-22 David Turner <david@freetype.org>
+2001-06-22 David Turner <david@freetype.org>
- * docs/PATENTS: Added patents disclaimer. This one was missing!
- * docs/CHANGES, docs/todo: Updated for the upcoming 2.0.4 release.
+ * docs/PATENTS: added patents disclaimer. This one was missing !!
+
+ * docs/CHANGES, docs/todo: updated for the upcoming 2.0.4 release
2001-06-20 Werner Lemberg <wl@gnu.org>
diff --git a/src/base/ftcalc.c b/src/base/ftcalc.c
index 63c74a6..e6ed0aa 100644
--- a/src/base/ftcalc.c
+++ b/src/base/ftcalc.c
@@ -299,8 +299,8 @@
FT_UInt32 lo,
FT_UInt32 y )
{
- FT_UInt r, q;
- FT_Int i;
+ FT_UInt32 r, q;
+ FT_Int i;
q = 0;