summaryrefslogtreecommitdiff
path: root/Build/source/texk/dtl/dv2dt.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2015-08-01 09:40:22 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2015-08-01 09:40:22 +0000
commit0fd479f40c7c1e76c7de05bbf63588df3d00b9ff (patch)
treed661390bf3eb97fbe7d329ea60c1ef184205a5db /Build/source/texk/dtl/dv2dt.c
parente2f7a59a6b5451bba11b5d8c9c97922a388def12 (diff)
texk/dtl: Fixed a minor bug and a typo
git-svn-id: svn://tug.org/texlive/trunk@38017 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dtl/dv2dt.c')
-rw-r--r--Build/source/texk/dtl/dv2dt.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/Build/source/texk/dtl/dv2dt.c b/Build/source/texk/dtl/dv2dt.c
index a89b432b6f1..8b79d5d5b0d 100644
--- a/Build/source/texk/dtl/dv2dt.c
+++ b/Build/source/texk/dtl/dv2dt.c
@@ -840,14 +840,15 @@ postamble
/* read postamble from dvi and write in dtl */
/* return number of bytes */
{
- U4 p, num, den, mag, l, u, s, t;
+ S4 p;
+ U4 num, den, mag, l, u, s, t;
fprintf (dtl, "post");
/* p[4] = pointer to final bop */
fprintf (dtl, " ");
- p = runsigned (4, dvi);
- fprintf (dtl, UF4, p);
+ p = rsigned (4, dvi);
+ fprintf (dtl, SF4, p);
/* num[4] = numerator of DVI unit */
fprintf (dtl, " ");
@@ -901,7 +902,8 @@ postpost
/* read post_post from dvi and write in dtl */
/* return number of bytes */
{
- U4 q, id;
+ S4 q;
+ U4 id;
int b223; /* hope this is 8-bit clean */
int n223; /* number of "223" bytes in final padding */
@@ -909,8 +911,8 @@ postpost
/* q[4] = pointer to post command */
fprintf (dtl, " ");
- q = runsigned (4, dvi);
- fprintf (dtl, UF4, q);
+ q = rsigned (4, dvi);
+ fprintf (dtl, SF4, q);
/* i[1] = DVI identification byte */
fprintf (dtl, " ");