Commit 2e7bb5e825880301e762f41fd0efa2aa18a4421f

Werner Lemberg 2017-06-27T16:56:38

* src/cff/cffparse.c (do_fixed): Fix typo. Spotted by chris <chris@gcjd.org>.

diff --git a/ChangeLog b/ChangeLog
index f79ab73..e9a047b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2017-06-27  Werner Lemberg  <wl@gnu.org>
 
+	* src/cff/cffparse.c (do_fixed): Fix typo.
+
+	Spotted by chris <chris@gcjd.org>.
+
+2017-06-27  Werner Lemberg  <wl@gnu.org>
+
 	[truetype] Integer overflows.
 
 	Reported as
diff --git a/src/cff/cffparse.c b/src/cff/cffparse.c
index ae55bbb..9d7bf6d 100644
--- a/src/cff/cffparse.c
+++ b/src/cff/cffparse.c
@@ -504,7 +504,7 @@
       {
         if ( FT_ABS( val ) > power_ten_limits[scaling] )
         {
-          val = val > 0 ? 0x7FFFFFFFL : -0x7FFFFFFFFL;
+          val = val > 0 ? 0x7FFFFFFFL : -0x7FFFFFFFL;
           goto Overflow;
         }