Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
fixed casting (trunk).
Browse files Browse the repository at this point in the history
git-svn-id: https://serveur-svn.lri.fr/svn/modhel/luatex/trunk@7208 0b2b3880-5936-4365-a048-eb17d2e5a6bf
  • Loading branch information
luigiScarso committed Oct 20, 2019
1 parent 76265a1 commit c71be92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/texk/web2c/luatexdir/font/writecff.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion source/texk/web2c/luatexdir/luatex_svnversion.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define luatex_svn_revision 7198
#define luatex_svn_revision 7207

0 comments on commit c71be92

Please sign in to comment.