texlive[52455] Build/source/texk/web2c/luatexdir/font/writecff.c:

commits+lscarso at tug.org commits+lscarso at tug.org
Sun Oct 20 13:20:11 CEST 2019


Revision: 52455
          http://tug.org/svn/texlive?view=revision&revision=52455
Author:   lscarso
Date:     2019-10-20 13:20:11 +0200 (Sun, 20 Oct 2019)
Log Message:
-----------
correct casting for work_buffer.

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/luatexdir/font/writecff.c

Modified: trunk/Build/source/texk/web2c/luatexdir/font/writecff.c
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/font/writecff.c	2019-10-19 23:54:31 UTC (rev 52454)
+++ trunk/Build/source/texk/web2c/luatexdir/font/writecff.c	2019-10-20 11:20:11 UTC (rev 52455)
@@ -1201,7 +1201,7 @@
         }
     }
     res = sprintf(local_work_buffer, "%1.14g", value);
-    if ( (dest>work_buffer) &&  (dest-((card8*)work_buffer))<(res+1)) {
+    if ( (dest>((card8*)(work_buffer))) &&  (dest-((card8*)work_buffer))<(res+1)) {
        normal_warning("cff","invalid real value to pack. Continuing, but the font looks wrong.");
     }
     if (res<0)



More information about the tex-live-commits mailing list