diff options
author | Luigi Scarso <luigi.scarso@gmail.com> | 2019-10-20 11:20:11 +0000 |
---|---|---|
committer | Luigi Scarso <luigi.scarso@gmail.com> | 2019-10-20 11:20:11 +0000 |
commit | c908e99d39a3eb22a2933c10824f1e2abb446371 (patch) | |
tree | 3e924b0ebc0385d75c873c538a1a878be1a3fd4c /Build | |
parent | 9e6f42cdf78a45a14a76043d2290eb5efac05b6d (diff) |
correct casting for work_buffer.
git-svn-id: svn://tug.org/texlive/trunk@52455 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/font/writecff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/font/writecff.c b/Build/source/texk/web2c/luatexdir/font/writecff.c index 8082259757b..ea95cb9668d 100644 --- a/Build/source/texk/web2c/luatexdir/font/writecff.c +++ b/Build/source/texk/web2c/luatexdir/font/writecff.c @@ -1201,7 +1201,7 @@ static long pack_real(card8 * dest, long destlen, double value) } } 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) |