summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/luatexdir/font/writecff.c2
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)